From 3a53b66fb2f0b38fbe1ed6d78c73773e58728677 Mon Sep 17 00:00:00 2001 From: Solomon Ayalew <solxget@amazon.com> Date: Wed, 4 Oct 2023 14:40:29 -0700 Subject: [PATCH] update buildspec java version (cherry picked from commit 43716a3a2327dff71aab95f2e257242e43b88fe4) --- provider/notification-aws/build-aws/buildspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/notification-aws/build-aws/buildspec.yaml b/provider/notification-aws/build-aws/buildspec.yaml index 20fe43e53..9be8cd8f6 100644 --- a/provider/notification-aws/build-aws/buildspec.yaml +++ b/provider/notification-aws/build-aws/buildspec.yaml @@ -30,7 +30,7 @@ env: phases: install: runtime-versions: - java: corretto8 + java: corretto17 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 - java -version -- GitLab