Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7451

Ant can't find target after update to hudson 1.3.7.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ant-plugin
    • None
    • jdk1.6.20,windows 7 64 bit,ant 1.8.1

      Ant can't find target after update to hudson 1.3.7.6 (ant say Target "clean,war" does not exist in the project)

      I found that hudson add extra double quote to ant target as below.

      $ cmd.exe /C '"D:\tools\apache-ant-1.8.1\bin\ant.bat -file build3.xml "clean,war" && exit %%ERRORLEVEL%%"'

      and below is previous version that i used.

      $ cmd.exe /C '"D:\tools\apache-ant-1.8.0\bin\ant.bat -file build3.xml clean,war && exit %%ERRORLEVEL%%"'

            Unassigned Unassigned
            p_suwanpech p_suwanpech
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: