Skip to content

Commit

Permalink
chore: add -U and -C to mvn install (#2329)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neenu1995 authored Nov 29, 2023
1 parent a69bec9 commit 569a9f6
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ echo ${JOB_TYPE}

# attempt to install 3 times with exponential backoff (starting with 10 seconds)
retry_with_backoff 3 10 \
mvn install -B -V \
mvn install -B -V -U \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
Expand Down Expand Up @@ -74,16 +74,23 @@ integration)
;;
graalvm)
# Run Unit and Integration Tests with Native Image
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests \
-Dit.test=!ITBigQueryWrite*RetryTest \
-Dsurefire.failIfNoSpecifiedTests=false \
-Dfailsafe.failIfNoSpecifiedTests=false \
test
mvn -B ${INTEGRATION_TEST_ARGS} \
-Penable-integration-tests \
-Pnative \
-DtrimStackTrace=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Dit.test=!ITBigQueryWrite*RetryTest \
-Dsurefire.failIfNoSpecifiedTests=false \
-Dfailsafe.failIfNoSpecifiedTests=false \
-fae \
test
RETURN_CODE=$?
;;
graalvm17)
# Run Unit and Integration Tests with Native Image
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests \
-Dtest=!ITBigQueryWrite*RetryTest \
-Dit.test=!ITBigQueryWrite*RetryTest \
-Dsurefire.failIfNoSpecifiedTests=false \
-Dfailsafe.failIfNoSpecifiedTests=false \
Expand Down

0 comments on commit 569a9f6

Please sign in to comment.