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

ANT properties quotes will break execution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • core
    • None
    • tested with hudson 1.379 & 1.381 (failing) works with (1.367) on windows (all between xp and win7)

      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.

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

              Created:
              Updated:
              Resolved: