golang-jenkins icon indicating copy to clipboard operation
golang-jenkins copied to clipboard

add support for parsing other kinds of maven job like pipeline jobs

Open jstrachan opened this issue 8 years ago • 1 comments

nice work on golang-jenkins BTW!

we've a need to parse the new pipeline jobs from Jenkins 2.x; so a PR is on its way to add a wrapper type above MavenJobItem to be able to parse maven or pipeline jobs

jstrachan avatar Apr 13 '16 08:04 jstrachan

Note that this PR will potentially break current code; as GetJobConfig() and CreateJob() now use JobItem rather than MavenJobItem which can hold a pointer to a MavenJobItem or a PipelineJobItem or in the future other kinds of jobs. Its hopefully a fairly minor change though; its just a wrapper struct really

jstrachan avatar Apr 13 '16 08:04 jstrachan