From: Stephen Kitt Date: Tue, 3 May 2016 15:38:36 +0000 (+0200) Subject: Enable batch mode for distribution and validate X-Git-Tag: release/beryllium-sr2~16^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=releng%2Fbuilder.git;a=commitdiff_plain;h=329c360d5169af2d8678bd7386eadf582ff47e4f Enable batch mode for distribution and validate Maven batch mode doesn't print out download progress, which makes Jenkins logs much easier to read. Change-Id: I7bbb242e0c7923e6579aad00ab5198adea942ad6 Signed-off-by: Stephen Kitt --- diff --git a/jjb-templates/distribution-check.yaml b/jjb-templates/distribution-check.yaml index 7cbe2c609..068d73a98 100644 --- a/jjb-templates/distribution-check.yaml +++ b/jjb-templates/distribution-check.yaml @@ -85,7 +85,7 @@ maven-name: '{mvn33}' root-pom: 'distribution/pom.xml' goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' + maven-opts: '-B -Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' settings: '{JENKINS_SETTINGS}' global-settings: '{odl-global-settings}' ignore-upstream-changes: true diff --git a/jjb-templates/validate-autorelease.yaml b/jjb-templates/validate-autorelease.yaml index de17a9a0c..dc577bd66 100644 --- a/jjb-templates/validate-autorelease.yaml +++ b/jjb-templates/validate-autorelease.yaml @@ -90,7 +90,7 @@ maven-name: '{mvn33}' root-pom: 'pom.xml' goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' + maven-opts: '-B -Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' settings: '{autorelease-settings}' global-settings: '{odl-global-settings}' automatic-archiving: false