[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
Title: Message Title SCM/JIRA link daemon commented on JENKINS-13490 Re: Passing multiline text parameter to ant broken (windows) Code changed in jenkins User: Stefan Wolf Path: src/test/groovy/hudson/plugins/gradle/GradlePluginIntegrationTest.groovy http://jenkins-ci.org/commit/gradle-plugin/0103221b20c2e35f6dfa2fb061c8c64ab52a90e2 Log: Disable multiline parameter test on Windows Looks like JENKINS-13490 prevents this from working. Compare: https://github.com/jenkinsci/gradle-plugin/compare/dc52f9f2c4b7...0103221b20c2 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
pixman20 commented on JENKINS-13490 Passing multiline text parameter to ant broken (windows) I am having the same issue. The only workaround for me is using the 'Execute Batch command' to execute Ant manually, which means I don't get the benefits of the 'Execute Ant' build step plugin. In my situation, I want to have a job where users can enter the ClearCase config spec they want to use for that build (with Base ClearCase plugin) and the SCM uses that parameter for the build. I had that working correctly, but unfortunately the Ant step is then pasting in the large multi-line config spec into the Ant command line. I do not know why parameterized builds automatically pass values through to Ant (or Maven) at all, as I would expect this to be up to the user to do -Dmy.ant.property=${MY_BUILD_PARAMETER} Perhaps this can be changed to use a checkbox ('Automatically populate build parameters') that defaults to true to not break backwards compatibility, but allows us to turn it off. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
Max Schaefer commented on JENKINS-13490 Passing multiline text parameter to ant broken (windows) I observe the same problem in a "free-style software project" and using maven in the build steps. The commandline is broken as soon as multiple lines are entered in the textbox. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
Martin Reck commented on JENKINS-13490 Passing multiline text parameter to ant broken (windows) Can we use the Ant commandline parameter -propertyfile? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
[ https://issues.jenkins-ci.org/browse/JENKINS-13490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162524#comment-162524 ] Sarathy Gunasekaran commented on JENKINS-13490: --- Can someone advice when this will be fixed 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 Labels: parameter 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
[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
[ https://issues.jenkins-ci.org/browse/JENKINS-13490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162525#comment-162525 ] Jem Mawson commented on JENKINS-13490: -- I'm not sure if they take this into consideration, but aybe if you vote for the bug report it will move up the queue. 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 Labels: parameter 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
[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
[ https://issues.jenkins-ci.org/browse/JENKINS-13490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162525#comment-162525 ] Jem Mawson edited comment on JENKINS-13490 at 5/8/12 5:58 AM: -- I'm not sure if they take this into consideration, but maybe if you vote for the bug report it will move up the queue. was (Author: synesso): I'm not sure if they take this into consideration, but aybe if you vote for the bug report it will move up the queue. 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 Labels: parameter 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
[JIRA] (JENKINS-13490) Passing multiline text parameter to ant broken (windows)
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