Added JAVA17_HOME
Change-Id: I4a9e39a726f80f2b806fdb979712bb0ce5cbdbbc
diff --git a/bin/git_gerrit_pull b/bin/git_gerrit_pull
index 96029f7..9492f61 100755
--- a/bin/git_gerrit_pull
+++ b/bin/git_gerrit_pull
@@ -48,12 +48,11 @@
_check('git checkout ' . $branch);
_check('git rebase master');
+my $JAVA17_HOME="/opt/java/jdk-17.0.2";
# Kustvakt
if ($project =~ m!^Kustvakt$!i) {
- _check('cd core && JAVA_HOME="/usr/lib/jvm/java-1.11.0-openjdk-amd64" mvn clean install');
- _check('cd lite && JAVA_HOME="/usr/lib/jvm/java-1.11.0-openjdk-amd64" mvn clean test');
- _check('cd full && JAVA_HOME="/usr/lib/jvm/java-1.11.0-openjdk-amd64" mvn clean test');
+ _check('cd full && JAVA_HOME='.$JAVA17_HOME.' mvn clean test');
}
# KalamarExport-Plugin