Skip to content
Snippets Groups Projects
Commit a850f3c4 authored by Solomon Ayalew's avatar Solomon Ayalew Committed by Chad Leong
Browse files

update buildspec java version

(cherry picked from commit 43716a3a)
parent 5f922375
No related branches found
No related tags found
2 merge requests!449Cherry-pick 'Solxget/java 17 test' into release/0.24,!446Cherry-pick 'Solxget/java 17 test' into release/0.24
...@@ -30,7 +30,7 @@ env: ...@@ -30,7 +30,7 @@ env:
phases: phases:
install: install:
runtime-versions: runtime-versions:
java: corretto8 java: corretto17
commands: commands:
- if [ $(echo $CODEBUILD_SOURCE_VERSION | grep -c ^refs/heads.*) -eq 1 ]; then echo "Branch name found"; else echo "This build only supports branch builds" && exit 1; fi - if [ $(echo $CODEBUILD_SOURCE_VERSION | grep -c ^refs/heads.*) -eq 1 ]; then echo "Branch name found"; else echo "This build only supports branch builds" && exit 1; fi
- java -version - java -version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment