Repository: maven-surefire
Updated Branches:
  refs/heads/master 514d04229 -> a93857e2d


Jenkinsfile


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/a93857e2
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/a93857e2
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/a93857e2

Branch: refs/heads/master
Commit: a93857e2dfd7bba7e17637bd69382ab9262169d8
Parents: 514d042
Author: Tibor17 <[email protected]>
Authored: Tue Aug 22 08:47:23 2017 +0200
Committer: Tibor17 <[email protected]>
Committed: Tue Aug 22 08:47:23 2017 +0200

----------------------------------------------------------------------
 Jenkinsfile | 68 +++++++++++++++++++++++++++++---------------------------
 1 file changed, 35 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/a93857e2/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index bbbfe9b..22f053c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -2,44 +2,46 @@ pipeline {
     agent none
     stages {
         stage('Platforms') {
-            parallel(
-                'Unix Build': {
-                    node("${env.NIX_LABEL}") {
-                        tools {
-                            maven 'Maven 3.5.0'
-                            jdk 'JDK 1.8.0_144'
-                        }
-                        steps {
-                            checkout scm
-                            sh "mvn clean install jacoco:report -B -U -e -fae 
-V -P run-its,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false 
-Dintegration-test-port=8084   \\\"-Djdk.home=${tool('JDK 9 b181')}\\\""
-                            jacoco changeBuildStatus: false, execPattern: 
'**/*.exec'
-                        }
-                        post {
-                            always {
-                                junit healthScaleFactor: 0.0, 
allowEmptyResults: true, keepLongStdio: true, testResults: 
'**/surefire-integration-tests/target/failsafe-reports/**/*.xml,**/surefire-integration-tests/target/surefire-reports/**/*.xml,**/maven-*/target/surefire-reports/**/*.xml,**/surefire-*/target/surefire-reports/**/*.xml,**/common-*/target/surefire-reports/**/*.xml'
+            steps {
+                parallel(
+                    'Unix Build': {
+                        node("${env.NIX_LABEL}") {
+                            tools {
+                                maven 'Maven 3.5.0'
+                                jdk 'JDK 1.8.0_144'
+                            }
+                            steps {
+                                checkout scm
+                                sh "mvn clean install jacoco:report -B -U -e 
-fae -V -P run-its,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false 
-Dintegration-test-port=8084   \\\"-Djdk.home=${tool('JDK 9 b181')}\\\""
+                                jacoco changeBuildStatus: false, execPattern: 
'**/*.exec'
+                            }
+                            post {
+                                always {
+                                    junit healthScaleFactor: 0.0, 
allowEmptyResults: true, keepLongStdio: true, testResults: 
'**/surefire-integration-tests/target/failsafe-reports/**/*.xml,**/surefire-integration-tests/target/surefire-reports/**/*.xml,**/maven-*/target/surefire-reports/**/*.xml,**/surefire-*/target/surefire-reports/**/*.xml,**/common-*/target/surefire-reports/**/*.xml'
+                                }
                             }
                         }
-                    }
-                },
-                'Windows Build': {
-                    node("${env.WIN_LABEL}") {
-                        tools {
-                            maven 'Maven 3.5.0 (Windows)'
-                            jdk 'JDK 1.8_121 (Windows Only)'
-                        }
-                        steps {
-                            checkout scm
-                            bat "mvn clean install jacoco:report -B -U -e -fae 
-V -P run-its,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false 
-Dintegration-test-port=8084"
-                            jacoco changeBuildStatus: false, execPattern: 
'**/*.exec'
-                        }
-                        post {
-                            always {
-                                junit healthScaleFactor: 0.0, 
allowEmptyResults: true, keepLongStdio: true, testResults: 
'**/surefire-integration-tests/target/failsafe-reports/**/*.xml,**/surefire-integration-tests/target/surefire-reports/**/*.xml,**/maven-*/target/surefire-reports/**/*.xml,**/surefire-*/target/surefire-reports/**/*.xml,**/common-*/target/surefire-reports/**/*.xml'
+                    },
+                    'Windows Build': {
+                        node("${env.WIN_LABEL}") {
+                            tools {
+                                maven 'Maven 3.5.0 (Windows)'
+                                jdk 'JDK 1.8_121 (Windows Only)'
+                            }
+                            steps {
+                                checkout scm
+                                bat "mvn clean install jacoco:report -B -U -e 
-fae -V -P run-its,jenkins -Dsurefire.useFile=false -Dfailsafe.useFile=false 
-Dintegration-test-port=8084"
+                                jacoco changeBuildStatus: false, execPattern: 
'**/*.exec'
+                            }
+                            post {
+                                always {
+                                    junit healthScaleFactor: 0.0, 
allowEmptyResults: true, keepLongStdio: true, testResults: 
'**/surefire-integration-tests/target/failsafe-reports/**/*.xml,**/surefire-integration-tests/target/surefire-reports/**/*.xml,**/maven-*/target/surefire-reports/**/*.xml,**/surefire-*/target/surefire-reports/**/*.xml,**/common-*/target/surefire-reports/**/*.xml'
+                                }
                             }
                         }
                     }
-                }
-            )
+                )
+            }
         }
     }
     options {

Reply via email to