The build is defined in the vars/asfMavenTlpStdBuild.groovy
file, that relies on the jenkinsEnv
singelton.
Ideally you would put vars/jenkinsEnv.groovy
in a separate repository (or at least a separate branch) and define two shared libraries:
- The shared library that defines
jenkinsEnv
- The shared library that defines
asfMavenTlpStdBuild
This way, to migrate to a different Jenkins master, we just need a different jenkinsEnv
singleton that respects the same API contract.