diff --git a/linux/Jenkinsfile b/linux/Jenkinsfile index 22817485d..bfebe36d5 100644 --- a/linux/Jenkinsfile +++ b/linux/Jenkinsfile @@ -259,6 +259,9 @@ def jenkinsStepDeb() { // for one single ARCH add into array debArchAllList.add("${ARCH}") + // Due to the jenkinsfile issues with string/numberic comparisons + // The individual if statements ensure stability and consistency + // when ARCH = all, rewrite list if ("${ARCH}" == 'all') { debArchAllList = ['x86_64', 'armv7l', 'aarch64', 'ppc64le', 's390x', 'riscv64'] @@ -279,7 +282,7 @@ def jenkinsStepDeb() { if ("${VERSION}" == '22' && "${ARCH}" == 'all') { debArchAllList = ['x86_64', 'aarch64', 'ppc64le', 's390x', 'riscv64'] } - // remove Arm32 & add riscv64 for JDK22 + // remove Arm32 & add riscv64 for JDK23 if ("${VERSION}" == '23' && "${ARCH}" == 'all') { debArchAllList = ['x86_64', 'aarch64', 'ppc64le', 's390x', 'riscv64'] }