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

Ant build steps with properties including variables are broken

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • ant-plugin
    • None
    • Hudson 1.376 on Windows 2003 Server with Tomcat 6.

      If Ant build steps take properties with an %, the next char is enclosed in quotes in a 'fancy' way:
      $ cmd.exe /C '"C:\ant\apache-ant-1.7.1\bin\ant.bat "-Dhudsonhome=%"H"UDSON_HOME%" && exit %%ERRORLEVEL%%"'
      The property should be "-Dhudsonhome=%HUDSON_HOME%"

      This worked with Hudson 1.365

          [JENKINS-7442] Ant build steps with properties including variables are broken

          skorsky created issue -
          Andrew Bayer made changes -
          Link New: This issue duplicates JENKINS-7657 [ JENKINS-7657 ]
          Andrew Bayer made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Alan Harder made changes -
          Link Original: This issue duplicates JENKINS-7657 [ JENKINS-7657 ]
          Alan Harder made changes -
          Link New: This issue is related to JENKINS-7657 [ JENKINS-7657 ]
          Alan Harder made changes -
          Link New: This issue is related to JENKINS-7108 [ JENKINS-7108 ]
          Alan Harder made changes -
          Assignee New: Alan Harder [ mindless ]
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Alan Harder made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          skorsky made changes -
          Resolution Original: Won't Fix [ 2 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          skorsky made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            mindless Alan Harder
            skorsky skorsky
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: