Skip to content

Commit

Permalink
Update jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Sep 12, 2024
1 parent 621ae4b commit 48ecd35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion linux/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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']
}
Expand Down

0 comments on commit 48ecd35

Please sign in to comment.