Enable batch mode for distribution and validate 39/38339/1
authorStephen Kitt <skitt@redhat.com>
Tue, 3 May 2016 15:38:36 +0000 (17:38 +0200)
committerStephen Kitt <skitt@redhat.com>
Tue, 3 May 2016 15:38:36 +0000 (17:38 +0200)
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 <skitt@redhat.com>
jjb-templates/distribution-check.yaml
jjb-templates/validate-autorelease.yaml

index 7cbe2c609b3622db233aff5d8f1edfe943c1ad92..068d73a982413e6fb0d5c49afa2eb2a77fc7ec68 100644 (file)
@@ -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
index de17a9a0cabb95ee6364d886f53284ea7a0c12a1..dc577bd6662f5f14f1d64cfd7e86352bc4a55856 100644 (file)
@@ -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