From 3053e005cd81b98be142aaacce2faae16378a6f1 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sat, 19 May 2018 19:51:17 +0200 Subject: Fixing Jenkinsfile syntax --- Jenkinsfile | 78 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 40 insertions(+), 38 deletions(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 88887bc75..97aa62226 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -90,53 +90,55 @@ pipeline { build(job: "${INTEGRATION_PIPELINE}/archiva/${env.BRANCH_NAME}", propagate: false, quietPeriod: 10) } } - } - stage('JDKs') { - parallel { - stage('JDK9') { - steps { - ws("${env.JOB_NAME}-JDK9") { - checkout scm - timeout(120) { - withMaven(maven: buildMvn, jdk: buildJdk9, - mavenSettingsConfig: deploySettings, - mavenLocalRepo: ".repository", - options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), - findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), - invokerPublisher(disabled: true), jgivenPublisher(disabled: true), - junitPublisher(disabled: true, ignoreAttachments: false), - openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] - ) - { - sh "mvn clean install -B -U -e -fae -T2" - } + + stage('JDKs') { + parallel { + stage('JDK9') { + steps { + ws("${env.JOB_NAME}-JDK9") { + checkout scm + timeout(120) { + withMaven(maven: buildMvn, jdk: buildJdk9, + mavenSettingsConfig: deploySettings, + mavenLocalRepo: ".repository", + options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), + findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), + invokerPublisher(disabled: true), jgivenPublisher(disabled: true), + junitPublisher(disabled: true, ignoreAttachments: false), + openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] + ) + { + sh "mvn clean install -B -U -e -fae -T2" + } + } } } } - } - stage('JDK10') { - steps { - ws("${env.JOB_NAME}-JDK10") { - checkout scm - timeout(120) { - withMaven(maven: buildMvn, jdk: buildJdk10, - mavenSettingsConfig: deploySettings, - mavenLocalRepo: ".repository", - options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), - findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), - invokerPublisher(disabled: true), jgivenPublisher(disabled: true), - junitPublisher(disabled: true, ignoreAttachments: false), - openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] - ) - { - sh "mvn clean install -B -U -e -fae -T2" - } + stage('JDK10') { + steps { + ws("${env.JOB_NAME}-JDK10") { + checkout scm + timeout(120) { + withMaven(maven: buildMvn, jdk: buildJdk10, + mavenSettingsConfig: deploySettings, + mavenLocalRepo: ".repository", + options: [concordionPublisher(disabled: true), dependenciesFingerprintPublisher(disabled: true), + findbugsPublisher(disabled: true), artifactsPublisher(disabled: true), + invokerPublisher(disabled: true), jgivenPublisher(disabled: true), + junitPublisher(disabled: true, ignoreAttachments: false), + openTasksPublisher(disabled: true), pipelineGraphPublisher(disabled: true)] + ) + { + sh "mvn clean install -B -U -e -fae -T2" + } + } } } } } } + } post { -- cgit v1.2.3