golang-jenkins
golang-jenkins copied to clipboard
add support for parsing other kinds of maven job like pipeline jobs
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
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