Skip to content

Commit 637ebca

Browse files
ShibasishDelphixsuyash jain
authored andcommitted
DLPX-97392 JDK17 upgrade for sso-app
PR URL: https://www.github.com/delphix/linux-pkg/pull/396
1 parent 344321a commit 637ebca

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/delphix-sso-app/config.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/saml-app.git"
2020
MEND_SCAN_APPLICABLE="true"
2121
MEND_SCAN_USING_SUDO="true"
2222

23+
function prepare() {
24+
logmust install_pkgs openjdk-17-jdk-headless:
25+
}
26+
2327
function build() {
2428
local java_home
25-
java_home="/usr/lib/jvm/java-8-openjdk-amd64/"
29+
java_home="/usr/lib/jvm/java-17-openjdk-amd64/"
2630
logmust cd "$WORKDIR/repo"
2731
logmust sudo ./gradlew "-Dorg.gradle.java.home=$java_home" distDeb
2832
logmust sudo mv ./build/distributions/*deb "$WORKDIR/artifacts/"

0 commit comments

Comments
 (0)