[cxf] branch master updated: Jenkins: remove JDK 9

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[cxf] branch master updated: Jenkins: remove JDK 9

deki
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 9be6635  Jenkins: remove JDK 9
9be6635 is described below

commit 9be663526f0890f0e465c57dd9b8fa27a22c51ce
Author: Dennis Kieselhorst <[hidden email]>
AuthorDate: Mon Jul 27 07:18:48 2020 +0200

    Jenkins: remove JDK 9
---
 Jenkinsfile | 48 ++++++------------------------------------------
 1 file changed, 6 insertions(+), 42 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f32a8b3..ea8c312 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -39,48 +39,12 @@ pipeline {
             MAVEN_OPTS = "-Xmx1024m"
           }
           stages {
-            stage('Build') {
+            stage('Build JDK 11') {
               steps {
-                sh 'mvn -B clean install -DskipTests -DskipAssembly'
+                sh 'mvn -B clean install -Dmaven.test.skip.exec=true'
               }
             }
-            stage('Test') {
-              steps {
-                sh 'mvn -B test'
-                // step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])
-              }
-              post {
-                always {
-                  junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
-                  junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
-                }
-              }
-            }
-          }
-          post {
-            always {
-              cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
-            }
-          }
-        }
-        stage('JDK 9') {
-          agent {
-            label 'ubuntu'
-          }
-          tools {
-            jdk 'JDK 1.9 (latest)'
-            maven 'Maven (latest)'
-          }
-          environment {
-            MAVEN_OPTS = "-Xmx1024m"
-          }
-          stages {
-            stage('Build') {
-              steps {
-                sh 'mvn -B clean install -DskipTests -DskipAssembly'
-              }
-            }
-            stage('Test') {
+            stage('Test JDK 11') {
               steps {
                 sh 'mvn -B test'
                 // step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])
@@ -111,12 +75,12 @@ pipeline {
             MAVEN_OPTS = "-Xmx1024m"
           }
           stages {
-            stage('Build') {
+            stage('Build JDK 8') {
               steps {
-                sh 'mvn -B clean install -DskipTests -DskipAssembly'
+                sh 'mvn -B clean install -Dmaven.test.skip.exec=true '
               }
             }
-            stage('Test') {
+            stage('Test JDK 8') {
               steps {
                 sh 'mvn -B test'
                 // step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])