-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
hudson v1.378, Windows 2003
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.
- is duplicated by
-
JENKINS-7942 ANT properties quotes will break execution
-
- Resolved
-
- is related to
-
JENKINS-7108 Running a parametrized build with Copy Artifact's Build Selector breaks Ant functionality on Windows
-
- Resolved
-
-
JENKINS-7442 Ant build steps with properties including variables are broken
-
- Resolved
-
can you make an ant build.xml file that does echo ${testparam} and make a Hudson job using this file with a "testparam" parameter? try running it with values:
test&one
test&two&test
3&3&3&3test
what are the results?