From 6aa2a5c63e343a9cae45d7c9a059dd5be3d46357 Mon Sep 17 00:00:00 2001 From: ConfluentSemaphore <40306929+ConfluentSemaphore@users.noreply.github.com> Date: Sun, 15 Dec 2024 02:56:19 +0000 Subject: [PATCH] chore: update repo semaphore task --- .semaphore/cp_dockerfile_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore/cp_dockerfile_build.yml b/.semaphore/cp_dockerfile_build.yml index 1736ea37f..5f61b11e5 100644 --- a/.semaphore/cp_dockerfile_build.yml +++ b/.semaphore/cp_dockerfile_build.yml @@ -24,7 +24,7 @@ global_job_config: prologue: commands: - checkout - - sem-version java 8 + - if [[ $SEMAPHORE_GIT_BRANCH =~ ^7\..* ]]; then sem-version java 8; else sem-version java 17; fi - . vault-setup - . cache-maven restore - export GIT_COMMIT=$(git rev-parse --verify HEAD --short)