Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 24279ccb4b | |||
| 4708dcb9f1 |
+9
-1
@@ -177,10 +177,18 @@ type Build struct {
|
|||||||
When string `json:"when"`
|
When string `json:"when"`
|
||||||
Manual bool `json:"manual"`
|
Manual bool `json:"manual"`
|
||||||
User User `json:"user"`
|
User User `json:"user"`
|
||||||
Runner string `json:"runner"`
|
Runner Runner `json:"runner"`
|
||||||
ArtifactsFile ArtifactsFile `json:"artifactsfile"`
|
ArtifactsFile ArtifactsFile `json:"artifactsfile"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Runner represents a runner agent
|
||||||
|
type Runner struct {
|
||||||
|
ID int64 `json:"id"`
|
||||||
|
Description string `json:"description"`
|
||||||
|
Active bool `json:"active"`
|
||||||
|
IsShared bool `json:"is_shared"`
|
||||||
|
}
|
||||||
|
|
||||||
// ArtifactsFile contains all of the GitLab artifact information
|
// ArtifactsFile contains all of the GitLab artifact information
|
||||||
type ArtifactsFile struct {
|
type ArtifactsFile struct {
|
||||||
Filename string `json:"filename"`
|
Filename string `json:"filename"`
|
||||||
|
|||||||
Reference in New Issue
Block a user