Skip to content

Commit

Permalink
Fix test-java-sdk.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Chiao <[email protected]>
  • Loading branch information
adchia committed Nov 9, 2021
1 parent ed1a891 commit 29d0925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/scripts/test-java-sdk.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

# Skip Maven enforcer: https://stackoverflow.com/questions/50647223/maven-enforcer-issue-when-running-from-reactor-level
mvn -f java/pom.xml --projects java/sdk/java --batch-mode --define skipTests=true \
mvn -f java/pom.xml --projects sdk/java --batch-mode --define skipTests=true \
--define enforcer.skip=true clean install
mvn -f java/pom.xml --projects java/sdk/java --define enforcer.skip=true test
mvn -f java/pom.xml --projects sdk/java --define enforcer.skip=true test
TEST_EXIT_CODE=$?

# Default artifact location setting in Prow jobs
Expand Down

0 comments on commit 29d0925

Please sign in to comment.