Skip to content

Commit

Permalink
Syntax Fix For Version Compare. (#846)
Browse files Browse the repository at this point in the history
* Syntax Fix For Version Compare.

* Fix alpine version compare.

* Remove whitespace

* Update var cast
  • Loading branch information
steelhead31 authored Mar 25, 2024
1 parent ec15235 commit 8266a2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ def jenkinsStepAlpine() {
apkArchAllList = ['x86_64', 'aarch64']
}
// remove aarch64 for JDK20 and below
if (${VERSION} -lt 21) {
def versionInt = VERSION as int // Parse Version As Integer
if (versionInt < 21) {
apkArchAllList.remove('aarch64')
}

Expand Down

0 comments on commit 8266a2b

Please sign in to comment.