maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject [maven-jenkins-lib] branch master updated: [INFRA-16893] Trying workaround
Date Sun, 12 Aug 2018 10:30:22 GMT
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 1d2d71d  [INFRA-16893] Trying workaround
1d2d71d is described below

commit 1d2d71ddef8f53c4d9e1a306215ff1b137677adc
Author: rfscholte <rfscholte@apache.org>
AuthorDate: Sun Aug 12 12:28:48 2018 +0200

    [INFRA-16893] Trying workaround
---
 vars/asfMavenTlpPlgnBuild.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 04ad853..5ac5f46 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -178,7 +178,9 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext )
               if (isUnix()) {
                 sh cmd.join(' ')
               } else {
-                bat cmd.join(' ')
+			    withEnv(['Path=C:\\WINDOWS\\system32;%Path%']) {
+                  bat cmd.join(' ')
+				}
               }
             }
           }


Mime
View raw message