maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steph...@apache.org
Subject [maven-jenkins-lib] 02/02: Better report collection optimization
Date Thu, 30 Nov 2017 12:13:59 GMT
This is an automated email from the ASF dual-hosted git repository.

stephenc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git

commit a9ca17c5328ce56075c63686842e49d9843afff3
Author: Stephen Connolly <stephen.alan.connolly@gmail.com>
AuthorDate: Thu Nov 30 12:13:50 2017 +0000

    Better report collection optimization
---
 vars/asfMavenTlpStdBuild.groovy | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index bb61864..159a378 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -56,13 +56,20 @@ def call(Map params = [:]) {
               }
             }
             stage("Build ${stageId}") {
-              withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:'.repository', options:
[artifactsPublisher(disabled: !first),
-                findbugsPublisher(disabled: !first), openTasksPublisher(disabled: !first)])
{
+              dev withMavenOptions = [
+                artifactsPublisher(disabled: !first),
+                junitPublisher,
+                findbugsPublisher(disabled: !first),
+                openTasksPublisher(disabled: !first),
+                dependenciesFingerprintPublisher,
+                invokerPublisher
+              ]
+              withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:'.repository', options:
withMavenOptions) {
                 dir ('m') {
                   if (isUnix()) {
-                    sh "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false
-Dfindbugs.skip=${!first}"
+                    sh "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false
-Dfindbugs.skip=${!first} -P+run-its"
                   } else {
-                    bat "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false
-Dfindbugs.skip=${!first}"
+                    bat "mvn clean verify -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false
-Dfindbugs.skip=${!first} -P+run-its"
                   }
                 }
               }

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <commits@maven.apache.org>.

Mime
View raw message