maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slachiew...@apache.org
Subject [maven] 01/03: Repair Jenkins job - add a full path to workspace when run on Windows
Date Sun, 14 Oct 2018 22:04:13 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 428e2c531f7656251695b0898d8981a3d04cb53e
Author: Sylwester Lachiewicz <slachiewicz@gmail.com>
AuthorDate: Fri Sep 14 00:51:05 2018 +0200

    Repair Jenkins job - add a full path to workspace when run on Windows
    
    Fixes errors like: Cannot relativize 'c:\mvn-it-0.tmp\core-it-support\..' relatively to
'/mvn-it-0.tmp'
    
    Reference JENKINS-52657
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9fa73cd..ef2adc2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -79,7 +79,7 @@ for (String os in runITsOses) {
                     // 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") {
+                    dir(isUnix() ? 'test' : "c:\\mvn-it-${EXECUTOR_NUMBER}.tmp") {
                         def WORK_DIR=pwd()
                         checkout tests
                         if (isUnix()) {


Mime
View raw message