diff --git a/systemd/jenkins.sh b/systemd/jenkins.sh index 8ba89e20..cc6cdf3c 100755 --- a/systemd/jenkins.sh +++ b/systemd/jenkins.sh @@ -41,7 +41,7 @@ check_java_version() { if [ -z "${java_version}" ]; then return 1 - elif [ "${java_version}" != "11" ] && [ "${java_version}" != "1.8" ]; then + elif [ "${java_version}" != "17" ] && [ "${java_version}" != "11" ] && [ "${java_version}" != "1.8" ]; then return 1 else return 0