[maven] branch jenkins-relativize-problem created (now eca0681)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven] branch jenkins-relativize-problem created (now eca0681)

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

slachiewicz pushed a change to branch jenkins-relativize-problem
in repository https://gitbox.apache.org/repos/asf/maven.git.


      at eca0681  Jenkins build - include full path in Windows workspace directory name

This branch includes the following new commits:

     new eca0681  Jenkins build - include full path in Windows workspace directory name

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Reply | Threaded
Open this post in threaded view
|

[maven] 01/01: Jenkins build - include full path in Windows workspace directory name

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

slachiewicz pushed a commit to branch jenkins-relativize-problem
in repository https://gitbox.apache.org/repos/asf/maven.git

commit eca0681a41519d08b07e393d647255c40ac20a91
Author: Sylwester Lachiewicz <[hidden email]>
AuthorDate: Fri Sep 14 00:45:29 2018 +0200

    Jenkins build - include full path in Windows workspace directory name
   
    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..cc12133 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()) {