diff --git a/linux/Jenkinsfile b/linux/Jenkinsfile index 0b6077101..6e65dbad2 100644 --- a/linux/Jenkinsfile +++ b/linux/Jenkinsfile @@ -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'