[maven] branch jenkins-relativize-problem updated (7c71145 -> 0e7a853)

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

[maven] branch jenkins-relativize-problem updated (7c71145 -> 0e7a853)

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.


 discard 7c71145  Jenkins build - include full path in Windows workspace directory name
     new 0e7a853  Repair Jenkins job - add a full path to workspace when run on Windows

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (7c71145)
            \
             N -- N -- N   refs/heads/jenkins-relativize-problem (0e7a853)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

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.


Summary of changes:

Reply | Threaded
Open this post in threaded view
|

[maven] 01/01: Repair Jenkins job - add a full path to workspace when run on Windows

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 0e7a8531ddc77a4b85ada49a74092c68b1a46f8f
Author: Sylwester Lachiewicz <[hidden email]>
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()) {