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 f2b452e  fix syntax
f2b452e is described below

commit f2b452e6fd2499bb1939f453a911d28c6f201e49
Author: olivier lamy <[email protected]>
AuthorDate: Sun Dec 30 08:49:54 2018 +1000

    fix syntax
    
    Signed-off-by: olivier lamy <[email protected]>
---
 Jenkinsfile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 905b3b9..37c55eb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,14 +31,10 @@ 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 {
+        durabilityHint('PERFORMANCE_OPTIMIZED')
         buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: 
'5'))
     }
 
@@ -48,7 +44,10 @@ pipeline {
                 stage( 'BuildAndDeploy-JDK8' ) {
                     options { timeout(time: 120, unit: 'MINUTES') }
                     steps {
-                        mavenBuild( buildJdk, "clean deploy -U -fae -T3", 
'Maven 3.5.2', defaultPublishers )
+                        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)] )
                     }
                 }post {
                     failure {

Reply via email to