Skip to content

Commit 6946fd7

Browse files
authored
build: reduce download junk in log files (#955)
* fix: less download junk log files * Update build.sh
1 parent 9004402 commit 6946fd7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

synthtool/gcp/templates/java_library/.kokoro/build.sh

Lines changed: 1 addition & 1 deletion
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 -ntp \
3333
-DskipTests=true \
3434
-Dclirr.skip=true \
3535
-Denforcer.skip=true \

synthtool/gcp/templates/java_library/.kokoro/dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
3131

3232
# this should run maven enforcer
3333
retry_with_backoff 3 10 \
34-
mvn install -B -V \
34+
mvn install -B -V -ntp \
3535
-DskipTests=true \
3636
-Dclirr.skip=true
3737

@@ -86,4 +86,4 @@ then
8686
else
8787
msg "Errors found. See log statements above."
8888
exit 1
89-
fi
89+
fi

0 commit comments

Comments
 (0)