From c5a4a55521a2f0b4ac57076067187d4326c98780 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Tue, 1 May 2018 14:08:14 +0200 Subject: [PATCH] Fixing syntax errors --- Jenkinsfile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 861a28afb..c4d03fa5c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 { -- 2.39.5