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

Ant properties escaping breaks url parameter for jsunit build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: ant-plugin
    • Labels:
      None
    • Environment:
      hudson v1.378, Windows 2003
    • Similar Issues:

      Description

      I think the changes for JENKINS-7108 cause problems when trying to pass a property to ant whose value is a url with multiple query parameters. For example, if you run the standalone_test target for a jsunit build, you need to pass a property like this:

      url=file:///C:/Documents and Settings/hudson/.hudson/jobs/myjob/workspace/myproject/test/jsunit/jsunit/testRunner.html?testPage=c:/Documents and Settings/hudson/.hudson/jobs/myjob/workspace/myproject/test/jsunit/tests/allTests.html&autoRun=true&submitResults=localhost:8090/jsunit/acceptor

      This worked in hudson 1.360 (the last one we were running before upgrading last week). After upgrading to 1.378, the parameter gets passed to the browser as:

      file:///C:/Documents and Settings/hudson/.hudson/jobs/myjob/workspace/myproject/test/jsunit/jsunit/testRunner.html?testPage=c:/Documents and Settings/hudson/.hudson/jobs/myjob/workspace/myproject/test/jsunit/tests/allTests.html^&autoRun=true^&submitResults=localhost:8090/jsunit/acceptor

      This causes the tests not to run.

        Attachments

          Issue Links

            Activity

            esword esword created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Assignee mindless [ mindless ]
            abayer Andrew Bayer made changes -
            Link This issue is duplicated by JENKINS-7442 [ JENKINS-7442 ]
            mindless Alan Harder made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            mindless Alan Harder made changes -
            Link This issue is related to JENKINS-7108 [ JENKINS-7108 ]
            mindless Alan Harder made changes -
            Link This issue is duplicated by JENKINS-7442 [ JENKINS-7442 ]
            mindless Alan Harder made changes -
            Link This issue is related to JENKINS-7442 [ JENKINS-7442 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            mindless Alan Harder made changes -
            Link This issue is duplicated by JENKINS-7942 [ JENKINS-7942 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 137758 ] JNJira + In-Review [ 187659 ]

              People

              • Assignee:
                mindless Alan Harder
                Reporter:
                esword esword
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: