diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-02-20 09:55:08 -0500 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-02-20 09:59:32 -0500 |
commit | f4b08e773e7ecd0e019b386ab0e984856c5f59d0 (patch) | |
tree | d5c77af8c82872b4529a75d9602b148c0ca6521d /jjb/scripts/maven_push_functions.sh | |
parent | bbb7267e1e6797eaf97f76ead52e2bc6c35e9d2e (diff) |
Run maven in non-interactive mode.
Stop mvn from printing the download progress of each file transfer.
-------
mvn -h
usage: mvn [options] [<goal(s)>] [<phase(s)>]
Options:
...
-B,--batch-mode Run in non-interactive (batch)
mode
Change-Id: I5cd0fc2843bece11b3d437c1d6e563cbe835cd2a
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'jjb/scripts/maven_push_functions.sh')
-rw-r--r-- | jjb/scripts/maven_push_functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/scripts/maven_push_functions.sh b/jjb/scripts/maven_push_functions.sh index 564c6ef37..6627615a6 100644 --- a/jjb/scripts/maven_push_functions.sh +++ b/jjb/scripts/maven_push_functions.sh @@ -30,7 +30,7 @@ function push_file () # Disable checks for doublequote to prevent glob / splitting # shellcheck disable=SC2086 - $MVN org.apache.maven.plugins:maven-deploy-plugin:deploy-file \ + $MVN -B org.apache.maven.plugins:maven-deploy-plugin:deploy-file \ -Dfile=$push_file -DrepositoryId=$repoId \ -Durl=$url -DgroupId=$GROUP_ID \ -Dversion=$version -DartifactId=$artifactId \ |