File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 76
76
buildspec-override : codebuild/ci/release-ci.yml
77
77
compute-type-override : BUILD_GENERAL1_LARGE
78
78
image-override : aws/codebuild/standard:3.0
79
+ env-vars-for-codebuild : GITHUB_EVENT_NAME
80
+ env :
81
+ GITHUB_EVENT_NAME : $GITHUB_EVENT_NAME
79
82
validateCI :
80
83
name : Validate CI
81
84
runs-on : ubuntu-latest
@@ -106,7 +109,9 @@ jobs:
106
109
image-override : ${{ matrix.platform.image }}
107
110
env-vars-for-codebuild : |
108
111
JAVA_ENV_VERSION,
109
- JAVA_NUMERIC_VERSION
112
+ JAVA_NUMERIC_VERSION,
113
+ GITHUB_EVENT_NAME
110
114
env :
111
115
JAVA_ENV_VERSION : ${{ matrix.platform.distribution }}${{ matrix.version }}
112
116
JAVA_NUMERIC_VERSION : ${{ matrix.version }}
117
+ GITHUB_EVENT_NAME : $GITHUB_EVENT_NAME
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ phases:
26
26
- tar -xvf ~/mvn_gpg.tgz -C ~
27
27
build :
28
28
commands :
29
- - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION"
29
+ - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION-$GITHUB_EVENT_NAME "
30
30
31
31
# Remove any old artifacts with the same commit ID. This allows CI to run more than once for the same commit
32
32
- |
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ phases:
16
16
java : $JAVA_ENV_VERSION
17
17
pre_build :
18
18
commands :
19
- - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION"
19
+ - VERSION_HASH="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)-$CODEBUILD_RESOLVED_SOURCE_VERSION-$GITHUB_EVENT_NAME "
20
20
- export SETTINGS_FILE=$(pwd)/codebuild/ci/settings.xml
21
21
- git clone https://github.com/aws-samples/busy-engineers-document-bucket.git
22
22
- cd busy-engineers-document-bucket/exercises/java/encryption-context-complete
You can’t perform that action at this time.
0 commit comments