This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new fb31805  Removing publish from jdk11 build
fb31805 is described below

commit fb3180576e8683d4f67a3553578af0483762221c
Author: Martin Stockhammer <[email protected]>
AuthorDate: Sun Nov 17 19:40:40 2019 +0100

    Removing publish from jdk11 build
---
 vars/multiJdkBuild.groovy | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/vars/multiJdkBuild.groovy b/vars/multiJdkBuild.groovy
index c0a6af4..1d21395 100644
--- a/vars/multiJdkBuild.groovy
+++ b/vars/multiJdkBuild.groovy
@@ -53,26 +53,31 @@ def call(Map params = [:]) {
                            dependenciesFingerprintPublisher(disabled: false), 
invokerPublisher(disabled: true),
                             pipelineGraphPublisher(disabled: false), 
mavenLinkerPublisher(disabled: false)]
 
+  def defaultPublishersJdk = [artifactsPublisher(disabled: true), 
junitPublisher(ignoreAttachments: false, disabled: false),
+                           findbugsPublisher(disabled: true), 
openTasksPublisher(disabled: true),
+                           dependenciesFingerprintPublisher(disabled: true), 
invokerPublisher(disabled: true),
+                           pipelineGraphPublisher(disabled: true), 
mavenLinkerPublisher(disabled: true)]
+
   def publishers = params.containsKey('publishers') ? params.publishers : 
defaultPublishers
 
 
   pipeline {
     agent any
     stages{
-      stage("Build JDK8"){
+      stage("Build JDK8") {
         agent { node { label 'ubuntu' } }
         options { timeout(time: 120, unit: 'MINUTES') }
-        steps{
-          mavenBuild( jdk, cmdline, mvnName, publishers)
+        steps {
+          mavenBuild(jdk, cmdline, mvnName, publishers)
         }
       }
-      stage("Build JDK11"){
+      stage("Build JDK11") {
         agent { node { label 'ubuntu' } }
         options { timeout(time: 120, unit: 'MINUTES') }
-        steps{
-          mavenBuild( jdk11, cmdlineJdk11, mvnName, publishers)
-        } 
-      } 
+        steps {
+          mavenBuild(jdk11, cmdlineJdk11, mvnName, publishers)
+        }
+      }
     }
     post {
       always {

Reply via email to