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

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d93893  no need of parallel and current ASF jenkins version do not 
support yet nested parallel...
4d93893 is described below

commit 4d9389346f33ef6324aebc4717d53ea6a869fdf2
Author: olivier lamy <ol...@apache.org>
AuthorDate: Sun Dec 30 10:58:50 2018 +1000

    no need of parallel and current ASF jenkins version do not support yet 
nested parallel...
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 Jenkinsfile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 37c55eb..9793573 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,6 +31,11 @@ LABEL = 'ubuntu'
 buildJdk = 'JDK 1.8 (latest)'
 buildJdk11 = 'JDK 11 (latest)'
 
+def defaultPublishers = [artifactsPublisher(disabled: false), 
junitPublisher(ignoreAttachments: false, disabled: false),
+                         findbugsPublisher(disabled: true), 
openTasksPublisher(disabled: true),
+                         dependenciesFingerprintPublisher(disabled: false), 
invokerPublisher(disabled: true),
+                         pipelineGraphPublisher(disabled: false)]
+
 pipeline {
     agent { label "${LABEL}" }
     options {
@@ -40,18 +45,14 @@ pipeline {
 
     stages {
         stage( 'Builds' ) {
-            parallel {
                 stage( 'BuildAndDeploy-JDK8' ) {
                     options { timeout(time: 120, unit: 'MINUTES') }
                     steps {
-                        mavenBuild( buildJdk, "clean deploy -U -fae -T3", 
'Maven 3.5.2', [artifactsPublisher(disabled: false), 
junitPublisher(ignoreAttachments: false, disabled: false),
-                                                                               
           findbugsPublisher(disabled: true), openTasksPublisher(disabled: 
true),
-                                                                               
           dependenciesFingerprintPublisher(disabled: false), 
invokerPublisher(disabled: true),
-                                                                               
           pipelineGraphPublisher(disabled: false)] )
+                        mavenBuild( buildJdk, "clean deploy -U -fae -T3", 
'Maven 3.5.2', defaultPublishers)
                     }
                 }post {
                     failure {
-                        notifyBuild( "Failure in BuildAndDeploy Stage ")
+                        notifyBuild( "Failure in BuildAndDeploy-JDK8 Stage ")
                     }
                 }
 
@@ -66,7 +67,6 @@ pipeline {
 //                        }
 //                    }
 //                }
-            }
         }
     }
 

Reply via email to