adoptium / jenkins-helper

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

Feature: move ADOPT_JENKINS_DEFAULTS_URL from caller than hardcoded in RepoHanlder #46

Open zdtsw opened 1 year ago

zdtsw commented 1 year ago

https://github.com/adoptium/jenkins-helper/blob/master/src/common/RepoHandler.groovy#L24 is set to hardcoded with "master" branch this will cause problem e.g for release cycle we want to checkout code from a release branch.

suggestion: to move away hardcoded value, and get it passed from caller (ci-jenkins-pipeline) with correct URL