You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ma...@apache.org on 2020/10/05 13:57:58 UTC

[maven-jenkins-lib] branch master updated: Shorten the windows filepath even further

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

martinkanters pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new 01e98d4  Shorten the windows filepath even further
01e98d4 is described below

commit 01e98d4f1444cda4c4001ea1994556499fc31fc8
Author: Martin Kanters <ma...@apache.org>
AuthorDate: Mon Oct 5 15:57:42 2020 +0200

    Shorten the windows filepath even further
---
 vars/asfMavenTlpStdBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 786a41c..f6d45c1 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -80,7 +80,7 @@ def call(Map params = [:]) {
             withEnv(["NODE_WORKSPACE=${pwd()}"]) {
               def wsDir = env.NODE_WORKSPACE
               if (!isUnix() && tmpWs) {
-                wsDir = 'F:\\short\\' + "$BUILD_TAG".replaceAll(/(.+)_maven-box_maven-(.+)/) { "m-${it[2]}" }
+                wsDir = 'F:\\short\\' + "$BUILD_TAG".replaceAll(/(.+)-maven-box-maven-(.+)/) { "m-${it[2]}" }
               }
               ws( dir : "$wsDir" ) {
                 stage("Checkout ${stageId}") {