You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/04/06 08:41:09 UTC

[maven-jenkins-lib] branch master updated: More shortening of path

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

rfscholte 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 4b1e717  More shortening of path
4b1e717 is described below

commit 4b1e7177089715cd7f813d4c61fcd9a3bc65546d
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Apr 6 10:40:59 2019 +0200

    More shortening of path
---
 vars/asfMavenTlpPlgnBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 02a667b..cfa26cd 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -151,8 +151,8 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext )
 	  def stageDir = stageId
 	  if (os == 'windows' && taskContext.tmpWs) {
 //	    wsDir = "$TEMP\\$BUILD_TAG" // or use F:\jenkins\jenkins-slave\workspace or F:\short
-	    wsDir = 'F:\\short\\' + "$BUILD_TAG".replaceAll(/(.+)maven-(.+)-plugin(.*)/) { "${it[1]}m-${it[2]}-p${it[3]}" }
-		stageDir = "j${jdk}m${maven}${plan}"
+	    wsDir = 'F:\\short\\' + "$BUILD_TAG".replaceAll(/(.+)maven-(.+)-plugin(.*)/) { "m-${it[2]}-p${it[3]}" }
+		stageDir = "j${jdk}m${maven}" + plan.take(1)
 	  }
       ws( dir : "$wsDir" )
       {