Skip to content

Commit

Permalink
Improve RH/Suse handling of arm32
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored Aug 2, 2023
1 parent 7beebea commit 14d33d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def jenkinsStepDeb() {
// function handle both Alpine, RedHat and Suse as DISTRO
def jenkinsStepNonDeb(String DISTRO) {
echo "Installer Job for Temurin jdk ${VERSION} - ${ARCH} - ${DISTRO}"
if ("${ARCH}" == 'armv7l') {
ARCH = 'armv7hl'
if (("${DISTRO}" == 'RedHat' || "${DISTRO}" == 'Suse') && ("${ARCH}" == 'armv7l')) {
ARCH = 'armv7hl'
}
setup("${DISTRO}", "${ARCH}")
unstash 'installercode'
Expand Down

0 comments on commit 14d33d1

Please sign in to comment.