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

ANT properties quotes will break execution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Environment:
      tested with hudson 1.379 & 1.381 (failing) works with (1.367) on windows (all between xp and win7)
    • Similar Issues:

      Description

      I have an ant script which needs a property like
      test.xyz=abc+(abc1|abc2)
      for triggering a nunit test execution.

      The problem is that the pipe is found as an special char (I don't know why) and was prefixed with an ^. This ^ changes the value and will break e.g. nunit at the test execution.

      $ cmd.exe /C '"<XXX>\.hudson\tools\ant\bin\ant.bat "-Dtest.xyz=abc+(abc1^|abc2)" test && exit %%ERRORLEVEL%%"'

      the same configuration worked fine with version 1.367.

        Attachments

          Issue Links

            Activity

            Hide
            tofuatjava Thomas Fürer added a comment -

            i think you are working on it already...

            Show
            tofuatjava Thomas Fürer added a comment - i think you are working on it already...
            Hide
            mindless Alan Harder added a comment -

            yes, already fixed for next release..

            Show
            mindless Alan Harder added a comment - yes, already fixed for next release..

              People

              • Assignee:
                mindless Alan Harder
                Reporter:
                tofuatjava Thomas Fürer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: