Commit 492b5b34 authored by Zaq? Wiedmann's avatar Zaq? Wiedmann

(jobs) support `pipeline` in jobs response

Ref: https://docs.gitlab.com/ce/api/jobs.html#get-a-single-job
parent f9a0483f
...@@ -46,6 +46,12 @@ type Job struct { ...@@ -46,6 +46,12 @@ type Job struct {
FinishedAt *time.Time `json:"finished_at"` FinishedAt *time.Time `json:"finished_at"`
ID int `json:"id"` ID int `json:"id"`
Name string `json:"name"` 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"` Ref string `json:"ref"`
Runner struct { Runner struct {
ID int `json:"id"` ID int `json:"id"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment