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 | |
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')
-rw-r--r-- | jjb/scripts/maven_push_functions.sh | 2 | ||||
-rw-r--r-- | jjb/vpp/include-raw-vpp-docs.sh | 4 | ||||
-rw-r--r-- | jjb/vpp/include-raw-vpp-make-test-docs.sh | 2 | ||||
-rw-r--r-- | jjb/vpp/include-raw-vpp-sphinx-docs.sh | 2 |
4 files changed, 5 insertions, 5 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 \ diff --git a/jjb/vpp/include-raw-vpp-docs.sh b/jjb/vpp/include-raw-vpp-docs.sh index 5ab0df27e..760eaea06 100644 --- a/jjb/vpp/include-raw-vpp-docs.sh +++ b/jjb/vpp/include-raw-vpp-docs.sh @@ -45,6 +45,6 @@ if [[ ${JOB_NAME} == *merge* ]]; then </distributionManagement> </project> EOF - ${MVN} site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C + ${MVN} -B site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C cd - -fi
\ No newline at end of file +fi diff --git a/jjb/vpp/include-raw-vpp-make-test-docs.sh b/jjb/vpp/include-raw-vpp-make-test-docs.sh index b3b5b0d05..a99adbaac 100644 --- a/jjb/vpp/include-raw-vpp-make-test-docs.sh +++ b/jjb/vpp/include-raw-vpp-make-test-docs.sh @@ -44,6 +44,6 @@ if [[ ${JOB_NAME} == *merge* ]]; then </distributionManagement> </project> EOF - ${MVN} site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C + ${MVN} -B site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C cd - fi diff --git a/jjb/vpp/include-raw-vpp-sphinx-docs.sh b/jjb/vpp/include-raw-vpp-sphinx-docs.sh index 100dee6c5..4d14e7a94 100644 --- a/jjb/vpp/include-raw-vpp-sphinx-docs.sh +++ b/jjb/vpp/include-raw-vpp-sphinx-docs.sh @@ -45,6 +45,6 @@ if [[ ${JOB_NAME} == *merge* ]]; then </distributionManagement> </project> EOF - ${MVN} site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C + ${MVN} -B site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C cd - fi |