Skip to content

Commit

Permalink
Merge pull request #19985 from keithc-ca/docker_build
Browse files Browse the repository at this point in the history
Improve version check for using a docker image
  • Loading branch information
AdamBrousseau authored Aug 16, 2024
2 parents 941f56a + 54026ce commit beeb96b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions buildenv/jenkins/common/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def build() {
}

def get_compile_command() {
return "make ${EXTRA_MAKE_OPTIONS} all"
return "make ${EXTRA_MAKE_OPTIONS} all"
}

def archive_sdk() {
Expand Down Expand Up @@ -844,9 +844,10 @@ def build_all() {
node("${NODE}") {
timeout(time: 5, unit: 'HOURS') {
if ("${DOCKER_IMAGE}") {
// TODO: remove this workaround when https://github.com/adoptium/infrastructure/issues/3597 resolved. related: infra 9292
if ((PLATFORM ==~ /ppc64le_linux.*/) ||
((PLATFORM ==~ /x86-64_linux.*/) && ((SDK_VERSION.toLowerCase() == 'next') || (SDK_VERSION.toInteger() >= 17)))) {
// TODO: Remove this workaround when https://github.com/adoptium/infrastructure/issues/3597 is resolved. Related: infra 9292.
if ((PLATFORM ==~ /ppc64le_linux.*/)
|| ((PLATFORM ==~ /x86-64_linux.*/) && (!SDK_VERSION.isInteger() || (SDK_VERSION.toInteger() >= 17)))
) {
create_docker_image_locally()
}
prepare_docker_environment()
Expand Down

0 comments on commit beeb96b

Please sign in to comment.