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 9f9e2fa Trying multiple JDK builds with parallel 9f9e2fa is described below commit 9f9e2fa3685accde99bfd0f8977248a920753d6b Author: Martin Stockhammer <martin.stockham...@ars.de> AuthorDate: Thu May 17 22:57:11 2018 +0200 Trying multiple JDK builds with parallel --- Jenkinsfile | 60 +++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c33104..97d6bd6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,7 @@ LABEL = 'ubuntu' buildJdk = 'JDK 1.8 (latest)' +buildJdk9 = 'JDK 1.9 (latest)' +buildJdk10 = 'JDK 10 (latest)' buildMvn = 'Maven 3.5.2' deploySettings = 'DefaultMavenSettingsProvider.1331204114925' @@ -10,17 +12,6 @@ pipeline { } stages { - stage('Checkout') { - steps { - checkout scm - } - post { - failure { - notifyBuild("Checkout failure (${currentBuild.currentResult})") - } - } - } - stage('BuildAndDeploy') { steps { @@ -51,6 +42,53 @@ pipeline { } } } + + 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" + } + + } + } + } + } + + } } post { unstable { -- To stop receiving notification emails like this one, please contact marti...@apache.org.