adoptium / jenkins-helper

Jenkins Node helper API and helper jobs
Apache License 2.0
7 stars 26 forks source link

Extend RepoHandler to inherit AdoptDefaults and accept optional repo branch overrides #47

Closed andrew-m-leonard closed 1 year ago

andrew-m-leonard commented 1 year ago

To resolve the issue around build release pipelines from build script branches, or the scenario of doing a personal build from a tag, the RepoHandler needs knowledge of the build config override branches.

This PR adds a new constructor to allow the override branches to be specified.

This forms a prereq to PR fix: https://github.com/adoptium/ci-jenkins-pipelines/pull/604/files