File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
build :
9
9
commands :
10
- - mvn clean install -T1C
10
+ - mvn clean install -T1C $MAVEN_OPTIONS
11
11
- JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
12
12
- echo $JAVA_VERSION
13
+ - echo $MAVEN_OPTIONS
13
14
- |
14
15
if [ "$JAVA_VERSION" -ge "9" ]; then
15
16
cd test/module-path-tests
Original file line number Diff line number Diff line change @@ -15,9 +15,10 @@ phases:
15
15
AWS_SESSION_TOKEN=`echo $ASSUME_ROLE_OUTPUT | awk '{ print $3 }'`
16
16
echo "Using role $INTEGRATION_TEST_ROLE_ARN with access key $AWS_ACCESS_KEY_ID."
17
17
fi
18
- - mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -T1C
18
+ - mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -T1C $MAVEN_OPTIONS
19
19
- JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
20
20
- echo $JAVA_VERSION
21
+ - echo $MAVEN_OPTIONS
21
22
- |
22
23
if [ "$JAVA_VERSION" -ge "9" ]; then
23
24
cd test/module-path-tests
Original file line number Diff line number Diff line change 7
7
8
8
build :
9
9
commands :
10
- - mvn clean install -P stability-tests -pl :stability-tests --am
10
+ - mvn clean install -P stability-tests -pl :stability-tests --am $MAVEN_OPTIONS
11
+ - echo $MAVEN_OPTIONS
11
12
finally :
12
13
- mkdir -p codebuild-test-reports
13
14
- find ./ -name 'TEST-*.xml' -type f -exec cp {} codebuild-test-reports/ \;
You can’t perform that action at this time.
0 commit comments