You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/01/27 18:24:20 UTC

[maven-surefire] 01/01: deployment (repository.apache.org)

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

tibordigana pushed a commit to branch deployment
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 0a810de560739015ea9b419e1361f4d35545c43f
Author: tibordigana <ti...@apache.org>
AuthorDate: Sun Jan 27 19:14:56 2019 +0100

    deployment (repository.apache.org)
---
 Jenkinsfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e593a0b..d9f543a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -36,7 +36,8 @@ final def mavens = env.BRANCH_NAME == 'master' ? ['3.6.x', '3.2.x'] : ['3.6.x']
 final def jdks = [12, 11, 8, 7]
 
 final def options = ['-e', '-V', '-B', '-nsu', '-P', 'run-its']
-final def goals = ['clean', 'install', 'jacoco:report']
+final def goals = ['clean', 'install']
+final def goalsDepl = ['clean', 'deploy', 'jacoco:report']
 final Map stages = [:]
 
 oses.eachWithIndex { osMapping, indexOfOs ->
@@ -64,14 +65,14 @@ oses.eachWithIndex { osMapping, indexOfOs ->
             stages[stageKey] = {
                 node(label) {
                     timestamps {
-                        def boolean makeReports = indexOfOs == 0 && indexOfMaven == 0 && indexOfJdk == 0
+                        boolean first = indexOfOs == 0 && indexOfMaven == 0 && indexOfJdk == 0
                         def failsafeItPort = 8000 + 100 * indexOfMaven + 10 * indexOfJdk
                         def allOptions = options + ["-Dfailsafe-integration-test-port=${failsafeItPort}", "-Dfailsafe-integration-test-stop-port=${1 + failsafeItPort}"]
                         if (jdk > 7) {
                             allOptions += ['-DpowermockVersion=2.0.0', '-Denforcer.skip=true']
                         }
                         ws(dir: "${os == 'windows' ? "${TEMP}\\${BUILD_TAG}" : pwd()}") {
-                            buildProcess(stageKey, jdkName, jdkTestName, mvnName, goals, allOptions, mavenOpts, makeReports)
+                            buildProcess(stageKey, jdkName, jdkTestName, mvnName, first ? goalsDepl : goals, allOptions, mavenOpts, first)
                         }
                     }
                 }