Skip to content

Commit

Permalink
Merge pull request #194 from KostasTsiounis/openjceplus_bundle
Browse files Browse the repository at this point in the history
Bundle OpenJCEPlus and get GSKit binaries from Artifactory
  • Loading branch information
AdamBrousseau authored Jan 12, 2024
2 parents 10c69a6 + c634f3f commit f237938
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 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,16 @@ 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'
}
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 f237938

Please sign in to comment.