This is an automated email from the ASF dual-hosted git repository.
martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-parent.git
The following commit(s) were added to refs/heads/master by this push:
new 09434a9 Fixing syntax
09434a9 is described below
commit 09434a9d68f277ad95d026fef9134f70d2cb37e2
Author: Martin Stockhammer <[email protected]>
AuthorDate: Thu May 17 22:59:36 2018 +0200
Fixing syntax
---
Jenkinsfile | 130 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 97d6bd6..1ff6419 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,83 +11,83 @@ pipeline {
label "${LABEL}"
}
stages {
-
-
- stage('BuildAndDeploy') {
- steps {
- timeout(20) {
- withMaven(maven: buildMvn, jdk: buildJdk,
- 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)]
- )
- {
- // Run test phase / ignore test failures
- sh "mvn -B -U -e -fae clean deploy"
- }
- // Report failures in the jenkins UI
- //step([$class: 'JUnitResultArchiver', testResults:
'**/target/surefire-reports/TEST-*.xml'])
- }
+ stage('BuildAndDeploy') {
+ steps {
+ timeout(20) {
+ withMaven(maven: buildMvn, jdk: buildJdk,
+ 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)]
+ )
+ {
+ // Run test phase / ignore test failures
+ sh "mvn -B -U -e -fae clean deploy"
+ }
+ // Report failures in the jenkins UI
+ //step([$class: 'JUnitResultArchiver', testResults:
'**/target/surefire-reports/TEST-*.xml'])
}
- post {
- success {
- archiveArtifacts '**/target/*-site.xml,pom.xml'
- }
- failure {
- notifyBuild("Failure in BuildAndDeploy stage")
- }
+ }
+ post {
+ success {
+ archiveArtifacts '**/target/*-site.xml,pom.xml'
+ }
+ failure {
+ notifyBuild("Failure in BuildAndDeploy stage")
}
}
+ }
- parallel {
- stage('JDK9') {
- steps {
- ws('JDK9') {
- timeout(20) {
- 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)]
- )
- {
- // Run test phase / ignore test
failures
- sh "mvn -B -U -e -fae clean verify"
- }
+ stage('OtherJdks') {
+ parallel {
+ stage('JDK9') {
+ steps {
+ ws('JDK9') {
+ timeout(20) {
+ 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)]
+ )
+ {
+ // Run test phase / ignore test
failures
+ sh "mvn -B -U -e -fae clean verify"
+ }
+ }
}
}
}
- }
- stage('JDK10') {
- steps {
- ws('JDK10') {
- timeout(20) {
- 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)]
- )
- {
- // Run test phase / ignore test
failures
- sh "mvn -B -U -e -fae clean verify"
- }
+ stage('JDK10') {
+ steps {
+ ws('JDK10') {
+ timeout(20) {
+ 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)]
+ )
+ {
+ // Run test phase / ignore test
failures
+ sh "mvn -B -U -e -fae clean verify"
+ }
+ }
}
}
}
- }
+ }
}
}
post {
--
To stop receiving notification emails like this one, please contact
[email protected].