Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
492b5b34
Commit
492b5b34
authored
Dec 28, 2018
by
Zaq? Wiedmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(jobs) support `pipeline` in jobs response
Ref:
https://docs.gitlab.com/ce/api/jobs.html#get-a-single-job
parent
f9a0483f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
jobs.go
jobs.go
+6
-0
No files found.
jobs.go
View file @
492b5b34
...
...
@@ -46,6 +46,12 @@ type Job struct {
FinishedAt
*
time
.
Time
`json:"finished_at"`
ID
int
`json:"id"`
Name
string
`json:"name"`
Pipeline
struct
{
ID
int
`json:"id"`
Ref
string
`json:"ref"`
Sha
string
`json:"sha"`
Status
string
`json:"status"`
}
`json:"pipeline"`
Ref
string
`json:"ref"`
Runner
struct
{
ID
int
`json:"id"`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment