[maven-jenkins-lib] branch master updated: capture another

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[maven-jenkins-lib] branch master updated: capture another

stephenc
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 <[hidden email]>
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
['"[hidden email]" <[hidden email]>'].