• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • ant-plugin
    • 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

          [JENKINS-10181] Install from Apache no longer works

          Andrew Herron created issue -
          Andrew Herron made changes -
          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 :)
          Andrew Herron made changes -
          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 :)
          sogabe made changes -
          Link New: This issue duplicates JENKINS-10036 [ JENKINS-10036 ]
          sogabe made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140369 ] New: JNJira + In-Review [ 189002 ]

            Unassigned Unassigned
            spyder Andrew Herron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: