Skip to content

Commit

Permalink
Merge pull request #46 from xackery/v5
Browse files Browse the repository at this point in the history
Added runner to gitlab
  • Loading branch information
deankarn authored Oct 24, 2018
2 parents 3fda9e7 + 4708dcb commit 24279cc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion gitlab/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,18 @@ type Build struct {
When string `json:"when"`
Manual bool `json:"manual"`
User User `json:"user"`
Runner string `json:"runner"`
Runner Runner `json:"runner"`
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
type ArtifactsFile struct {
Filename string `json:"filename"`
Expand Down

0 comments on commit 24279cc

Please sign in to comment.