-
-
Notifications
You must be signed in to change notification settings - Fork 72
Building your own branch of ci jenkins pipelines or temurin build
Andrew Leonard edited this page Feb 13, 2023
·
8 revisions
You can now run a build pipeline using your own branch of either ci-jenkins-pipelines or temurin-build, simply by setting parameters appropriately, as follows:
Some things to "note" is as follows:
- The "defaultsJson" are the "User" defaults for various parameters, and is relevant when "useAdoptBashScripts" is set to false.
- The "adoptDefaultsJson" are the "Adopt" defaults for various parameters, and is relevant when "useAdoptBashScripts" is set to true.
- The downstream build jobs now get passed the "USER_REMOTE_CONFIGS" (if useAdoptBashScripts==false, constructed from the defaultsJson pipeline branch & url), DEFAULTS_JSON and ADOPT_DEFAULTS_JSON from the openjdkNN-pipeline job.
To build using your own branch of temurin-build or ci-jenkins-pielines:
- Select the https://ci.adoptopenjdk.net/job/build-scripts/openjdkNN-pipeline and select "Build with parameters"
- Set "useAdoptBashScripts" to false
- Within "defaultsJson" "repository" section, change the values of "build_branch" and "build_url" to be your fork and branch of temurin-build.
- Within "defaultsJson" "repository" section, change the values of "pipeline_branch" and "pipeline_url" to be your fork and branch of ci-jenkins-pipelines.
- "Build"