-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
Windows XP remote slave (Debian host)
I just upgraded from 1.415 to 1.418 and all of my builds now fail. Previously, the "invoke ant" build step ran builds like this:
08:50:05 [project] $ cmd.exe /C '"c:\jenkins\tools\Ant-1.8.2\bin\ant.bat jars && exit %%ERRORLEVEL%%"' 08:50:05 Buildfile: c:\jenkins\workspace\project\build.xml
After upgrading, the output looks like this:
09:25:05 [project] $ cmd.exe /C '"ant.bat && exit %%ERRORLEVEL%%"' 09:25:06 'ant.bat' is not recognized as an internal or external command, 09:25:06 operable program or batch file. 09:25:06 Build step 'Invoke Ant' marked build as failure
As you can see it's not using the version installed by Jenkins. I've downgraded build by build all the way back to 1.415, which fixes the problem. Along the way I noticed that between 1.415 and 1.416 the "ant version" dropdown in the Invoke Ant build step disappeared. This seems like it would cause the plugin to always use the "default" setting
- duplicates
-
JENKINS-10036 "Ant Version" field in "Invoke Ant" Build step missing in 1.416
-
- Resolved
-
[JENKINS-10181] Install from Apache no longer works
Description |
Original:
I just upgraded from 1.415 to 1.418 and all of my builds now fail. Previously, the "invoke ant" build step ran builds like this: 08:50:05 [project] $ cmd.exe /C '"c:\jenkins\tools\Ant-1.8.2\bin\ant.bat -DjarDest=editlivejava jars && exit %%ERRORLEVEL%%"' 08:50:05 Buildfile: c:\jenkins\workspace\project\build.xml After upgrading, the output looks like this: 09:25:05 [project] $ cmd.exe /C '"ant.bat -DjarDest=editlivejava jars && exit %%ERRORLEVEL%%"' 09:25:06 'ant.bat' is not recognized as an internal or external command, 09:25:06 operable program or batch file. 09:25:06 Build step 'Invoke Ant' marked build as failure As you can see it's not using the version installed by Jenkins. I've downgraded build by build all the way back to 1.415, which fixes the problem. Along the way I noticed that between 1.415 and 1.416 the "ant version" dropdown in the Invoke Ant build step disappeared. This seems like it would cause the plugin to always use the "default" setting :) |
New:
I just upgraded from 1.415 to 1.418 and all of my builds now fail. Previously, the "invoke ant" build step ran builds like this: 08:50:05 [project] $ cmd.exe /C '"c:\jenkins\tools\Ant-1.8.2\bin\ant.bat jars && exit %%ERRORLEVEL%%"' 08:50:05 Buildfile: c:\jenkins\workspace\project\build.xml After upgrading, the output looks like this: 09:25:05 [project] $ cmd.exe /C '"ant.bat && exit %%ERRORLEVEL%%"' 09:25:06 'ant.bat' is not recognized as an internal or external command, 09:25:06 operable program or batch file. 09:25:06 Build step 'Invoke Ant' marked build as failure As you can see it's not using the version installed by Jenkins. I've downgraded build by build all the way back to 1.415, which fixes the problem. Along the way I noticed that between 1.415 and 1.416 the "ant version" dropdown in the Invoke Ant build step disappeared. This seems like it would cause the plugin to always use the "default" setting :) |
Description |
Original:
I just upgraded from 1.415 to 1.418 and all of my builds now fail. Previously, the "invoke ant" build step ran builds like this: 08:50:05 [project] $ cmd.exe /C '"c:\jenkins\tools\Ant-1.8.2\bin\ant.bat jars && exit %%ERRORLEVEL%%"' 08:50:05 Buildfile: c:\jenkins\workspace\project\build.xml After upgrading, the output looks like this: 09:25:05 [project] $ cmd.exe /C '"ant.bat && exit %%ERRORLEVEL%%"' 09:25:06 'ant.bat' is not recognized as an internal or external command, 09:25:06 operable program or batch file. 09:25:06 Build step 'Invoke Ant' marked build as failure As you can see it's not using the version installed by Jenkins. I've downgraded build by build all the way back to 1.415, which fixes the problem. Along the way I noticed that between 1.415 and 1.416 the "ant version" dropdown in the Invoke Ant build step disappeared. This seems like it would cause the plugin to always use the "default" setting :) |
New:
I just upgraded from 1.415 to 1.418 and all of my builds now fail. Previously, the "invoke ant" build step ran builds like this: {noformat} 08:50:05 [project] $ cmd.exe /C '"c:\jenkins\tools\Ant-1.8.2\bin\ant.bat jars && exit %%ERRORLEVEL%%"' 08:50:05 Buildfile: c:\jenkins\workspace\project\build.xml {noformat} After upgrading, the output looks like this: {noformat} 09:25:05 [project] $ cmd.exe /C '"ant.bat && exit %%ERRORLEVEL%%"' 09:25:06 'ant.bat' is not recognized as an internal or external command, 09:25:06 operable program or batch file. 09:25:06 Build step 'Invoke Ant' marked build as failure {noformat} As you can see it's not using the version installed by Jenkins. I've downgraded build by build all the way back to 1.415, which fixes the problem. Along the way I noticed that between 1.415 and 1.416 the "ant version" dropdown in the Invoke Ant build step disappeared. This seems like it would cause the plugin to always use the "default" setting :) |
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 140369 ] | New: JNJira + In-Review [ 189002 ] |