From 39afca0924ca2efa3b77e179435c819d4a3ae8d0 Mon Sep 17 00:00:00 2001 From: Darwin Chowdary Date: Mon, 4 Dec 2023 01:19:07 -0800 Subject: [PATCH] chore: fix release-ci --- codebuild/ci/release-ci.yml | 2 +- codebuild/ci/validate-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codebuild/ci/release-ci.yml b/codebuild/ci/release-ci.yml index 76d85e390..72e3af2de 100644 --- a/codebuild/ci/release-ci.yml +++ b/codebuild/ci/release-ci.yml @@ -26,7 +26,7 @@ phases: - tar -xvf ~/mvn_gpg.tgz -C ~ build: commands: - - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION" + - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION-$CODEBUILD_WEBHOOK_TRIGGER" # Remove any old artifacts with the same commit ID. This allows CI to run more than once for the same commit - | diff --git a/codebuild/ci/validate-ci.yml b/codebuild/ci/validate-ci.yml index 711e5048a..dc721157a 100644 --- a/codebuild/ci/validate-ci.yml +++ b/codebuild/ci/validate-ci.yml @@ -16,7 +16,7 @@ phases: java: $JAVA_ENV_VERSION pre_build: commands: - - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION" + - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION-$CODEBUILD_WEBHOOK_TRIGGER" - export SETTINGS_FILE=$(pwd)/codebuild/ci/settings.xml - git clone https://github.com/aws-samples/busy-engineers-document-bucket.git - cd busy-engineers-document-bucket/exercises/java/encryption-context-complete