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 2018/08/12 10:30:22 UTC

[maven-jenkins-lib] branch master updated: [INFRA-16893] Trying workaround

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 <rf...@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(' ')
+				}
               }
             }
           }