Skip to content

Commit 569a9f6

Browse files
authored
chore: add -U and -C to mvn install (#2329)
1 parent a69bec9 commit 569a9f6

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.kokoro/build.sh

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ echo ${JOB_TYPE}
2929

3030
# attempt to install 3 times with exponential backoff (starting with 10 seconds)
3131
retry_with_backoff 3 10 \
32-
mvn install -B -V \
32+
mvn install -B -V -U \
3333
-DskipTests=true \
3434
-Dclirr.skip=true \
3535
-Denforcer.skip=true \
@@ -74,16 +74,23 @@ integration)
7474
;;
7575
graalvm)
7676
# Run Unit and Integration Tests with Native Image
77-
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests \
78-
-Dit.test=!ITBigQueryWrite*RetryTest \
79-
-Dsurefire.failIfNoSpecifiedTests=false \
80-
-Dfailsafe.failIfNoSpecifiedTests=false \
81-
test
77+
mvn -B ${INTEGRATION_TEST_ARGS} \
78+
-Penable-integration-tests \
79+
-Pnative \
80+
-DtrimStackTrace=false \
81+
-Dclirr.skip=true \
82+
-Denforcer.skip=true \
83+
-Dit.test=!ITBigQueryWrite*RetryTest \
84+
-Dsurefire.failIfNoSpecifiedTests=false \
85+
-Dfailsafe.failIfNoSpecifiedTests=false \
86+
-fae \
87+
test
8288
RETURN_CODE=$?
8389
;;
8490
graalvm17)
8591
# Run Unit and Integration Tests with Native Image
8692
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests \
93+
-Dtest=!ITBigQueryWrite*RetryTest \
8794
-Dit.test=!ITBigQueryWrite*RetryTest \
8895
-Dsurefire.failIfNoSpecifiedTests=false \
8996
-Dfailsafe.failIfNoSpecifiedTests=false \

0 commit comments

Comments
 (0)