]> source.dussan.org Git - archiva.git/commitdiff
Fixing syntax errors
authorMartin Stockhammer <martin_s@apache.org>
Tue, 1 May 2018 12:08:14 +0000 (14:08 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Tue, 1 May 2018 12:08:14 +0000 (14:08 +0200)
Jenkinsfile

index 861a28afb7bebb51295d8a903c3a119e4b6ef1eb..c4d03fa5ce2be806aeb1acaf169d6f34015fe688 100644 (file)
@@ -5,14 +5,15 @@ deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
 REPO_DIR = "${env.JENKINS_HOME}/.repo-${env.JOB_NAME.replace('/', '_')}"
 
 pipeline {
-    stages {
-        agent {
-            label "${LABEL}"
-        }
+    agent {
+        label "${LABEL}"
+    }
 
-        environment {
-            REPO_DIR = "${env.JENKINS_HOME}/.repo-${env.JOB_NAME.replace('/', '_')}"
-        }
+    environment {
+        REPO_DIR = "${env.JENKINS_HOME}/.repo-${env.JOB_NAME.replace('/', '_')}"
+    }
+
+    stages {
 
 
         stage('Checkout') {
@@ -59,7 +60,7 @@ pipeline {
             }
             post {
                 success {
-                    junit testDataPublishers: [[$class: 'StabilityTestDataPublisher']], '**/target/surefire-reports/TEST-*.xml'
+                    junit testDataPublishers: [[$class: 'StabilityTestDataPublisher']], testResults: '**/target/surefire-reports/TEST-*.xml'
                     archiveArtifacts '**/target/*.war,**/target/*-bin.zip'
                 }
                 failure {