Jem Mawson created JENKINS-13490:
------------------------------------
Summary: Passing multiline text parameter to ant broken (windows)
Key: JENKINS-13490
URL: https://issues.jenkins-ci.org/browse/JENKINS-13490
Project: Jenkins
Issue Type: Bug
Components: ant
Affects Versions: current
Environment: Win XP, Chrome.
Reporter: Jem Mawson
Priority: Minor
A build configured to accept a Text Parameter and pass it to ant Ant build will
fail if the user enters multiple lines in the text parameter field.
For example, in the following output the parameter 'user.notes' is multiline:
[workspace] $ cmd.exe /C '""C:\Program Files
(x86)\ant\apache-ant-1.8.2\bin\ant.bat" "-Duser.notes=Optional notes
For the keeping!" -Ddatabase.name=mm4_sit2
"-Ddatabase.fields=messages.{transactionreference, meridianmessagetype, queue},
meridianerrors.{errorkey}" -Ddatabase.host=dbhost db-capture && exit
%%ERRORLEVEL%%"'
The syntax of the command is incorrect.
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira