maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steph...@apache.org
Subject [maven-jenkins-lib] branch master updated: capture another
Date Thu, 30 Nov 2017 12:31:35 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


The following commit(s) were added to refs/heads/master by this push:
     new cee8923  capture another
cee8923 is described below

commit cee8923b494ff5f0008fcdad10501d7d91f28328
Author: Stephen Connolly <stephen.alan.connolly@gmail.com>
AuthorDate: Thu Nov 30 12:31:29 2017 +0000

    capture another
---
 vars/asfMavenTlpStdBuild.groovy | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 568bf34..b03cd5e 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -58,6 +58,7 @@ def call(Map params = [:]) {
         }
         cmd += 'clean'
         cmd += 'verify'
+        def disablePublishers = !first
         String stageId = "${os}-jdk${jdk}"
         tasks[stageId] = {
           node(label) {
@@ -68,10 +69,10 @@ def call(Map params = [:]) {
             }
             stage("Build ${stageId}") {
               withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:'.repository', options:
[
-                artifactsPublisher(disabled: !first),
+                artifactsPublisher(disabled: disablePublishers),
                 junitPublisher(ignoreAttachments: false),
-                findbugsPublisher(disabled: !first),
-                openTasksPublisher(disabled: !first),
+                findbugsPublisher(disabled: disablePublishers),
+                openTasksPublisher(disabled: disablePublishers),
                 dependenciesFingerprintPublisher(),
                 invokerPublisher(),
                 pipelineGraphPublisher()

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

Mime
View raw message