Skip to content

Commit 196f580

Browse files
committed
[I-Build-Test] Fix call of ant-diagnostics on Windows machines
Calling 'ant -diagnostics' on Windows somehow exists the bat script immediately. Call it in a sub-cmd-shell to workaround this problem until a completely correct solution is found.
1 parent 28cfa22 commit 196f580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JenkinsJobs/AutomatedTests/I_unit_win32.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ set ANT_HOME
6060
set PATH
6161
6262
env 1>envVars.txt 2>&1
63-
ant -diagnostics 1>antDiagnostics.txt 2>&1
63+
cmd /c ant -diagnostics 1>antDiagnostics.txt 2>&1
6464
java -XshowSettings -version 1>javaSettings.txt 2>&1
6565
6666
ant -f getEBuilder.xml -DbuildId=%buildId% -DeclipseStream=%STREAM% -DEBUILDER_HASH=%EBUILDER_HASH% ^

0 commit comments

Comments
 (0)