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

khmarbaise pushed a commit to branch MNG-6492
in repository https://gitbox.apache.org/repos/asf/maven.git

commit fa938a6be6e9238714fb8c8a240200fb0df661e8
Author: Sylwester Lachiewicz <slachiew...@apache.org>
AuthorDate: Mon Oct 15 00:20:25 2018 +0200

    Repair Jenkins job - add a full path to workspace when run on Windows
    
    Workaround for JENKINS-52657
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9fa73cd..fe3791b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,8 +78,8 @@ for (String os in runITsOses) {
                 stage("${stageLabel}") {
                     // on Windows, need a short path or we hit 256 character 
limit for paths
                     // using EXECUTOR_NUMBER guarantees that concurrent builds 
on same agent
-                    // will not trample each other
-                    dir(isUnix() ? 'test' : "/mvn-it-${EXECUTOR_NUMBER}.tmp") {
+                    // will not trample each other plus workaround for 
JENKINS-52657
+                    dir(isUnix() ? 'test' : 
"c:\\mvn-it-${EXECUTOR_NUMBER}.tmp") {
                         def WORK_DIR=pwd()
                         checkout tests
                         if (isUnix()) {

Reply via email to