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 <martinkant...@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}") {

Reply via email to