Skip to content

Commit

Permalink
Bundle OpenJCEPlus and get GSKit binaries from Artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
KostasTsiounis committed Jan 8, 2024
1 parent 7d84480 commit 3ea14fe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1962,8 +1962,18 @@ class Build {
repoHandler.checkoutUserBuild(context)
printGitRepoInfo()
if (buildConfig.VARIANT == "openj9") {
context.sshagent(['83181e25-eea4-4f55-8b3e-e79615733226']) {
context.sh(script: "./${DEFAULTS_JSON['scriptDirectories']['buildfarm']}")
def buildArgs
if (DEFAULTS_JSON['bundle-openjceplus'] == true) {
buildArgs = ' --bundle-openjceplus'
} else {
buildArgs = ''
}
context.withEnv(['BUILD_ARGS=' + buildArgs]) {
context.sshagent(['83181e25-eea4-4f55-8b3e-e79615733226']) {
context.withCredentials([usernamePassword(credentialsId: '7c1c2c28-650f-49e0-afd1-ca6b60479546', passwordVariable: 'GSKIT_PASSWORD', usernameVariable: 'GSKIT_USERNAME')]) {
context.sh(script: "./${DEFAULTS_JSON['scriptDirectories']['buildfarm']}")
}
}
}
} else {
context.sh(script: "./${DEFAULTS_JSON['scriptDirectories']['buildfarm']}")
Expand Down
1 change: 1 addition & 0 deletions pipelines/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"enableSourceRpm" : true,
"enableSigner" : true,
"verifySigner" : false,
"bundle-openjceplus" : true,
"importLibraryScript" : "pipelines/build/common/import_lib.groovy",
"defaultsUrl" : "https://raw.githubusercontent.com/ibmruntimes/ci-jenkins-pipelines/ibm/pipelines/defaults.json"
}

0 comments on commit 3ea14fe

Please sign in to comment.