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

commit 79317d78fa75d79e57078273d0edb019648078ee
Author: olivier lamy <ol...@apache.org>
AuthorDate: Sun Dec 30 11:04:25 2018 +1000

    fix syntax
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 Jenkinsfile | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 51b5d3e..dfb070c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -41,18 +41,14 @@ pipeline {
     options {
         durabilityHint('PERFORMANCE_OPTIMIZED')
         buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: 
'5'))
+        timeout(time: 120, unit: 'MINUTES')
     }
 
     stages {
         stage( 'BuildAndDeploy-JDK8' ) {
-            options { timeout(time: 120, unit: 'MINUTES') }
-            steps {
+            \steps {
                 mavenBuild( buildJdk, "clean deploy -U -fae -T3", 'Maven 
3.5.2', defaultPublishers)
             }
-        }post {
-            failure {
-                notifyBuild( "Failure in BuildAndDeploy-JDK8 Stage ")
-            }
         }
 //                stage('JDK11') {
 //                    steps {
@@ -76,7 +72,7 @@ pipeline {
             notifyBuild( "Unstable Build ")
         }
         failure {
-            notifyBuild( "Error in redback build ")
+            notifyBuild( "Error in redback core build ")
         }
         success {
             script {

Reply via email to