Skip to content

Commit

Permalink
build: reduce download junk in log files (#955)
Browse files Browse the repository at this point in the history
* fix: less download junk log files

* Update build.sh
  • Loading branch information
elharo authored Feb 19, 2021
1 parent 9004402 commit 6946fd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synthtool/gcp/templates/java_library/.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 -ntp \
-DskipTests=true \
-Dclirr.skip=true \
-Denforcer.skip=true \
Expand Down
4 changes: 2 additions & 2 deletions synthtool/gcp/templates/java_library/.kokoro/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"

# this should run maven enforcer
retry_with_backoff 3 10 \
mvn install -B -V \
mvn install -B -V -ntp \
-DskipTests=true \
-Dclirr.skip=true

Expand Down Expand Up @@ -86,4 +86,4 @@ then
else
msg "Errors found. See log statements above."
exit 1
fi
fi

0 comments on commit 6946fd7

Please sign in to comment.