Issue Type: Bug Bug
Assignee: Unassigned
Components: maven-plugin
Created: 03/Nov/14 2:57 PM
Description:

I have a required build-parameter "build_reason" of type text. Our users can insert some free-text for the build reason.

If the parameter contains, for example, following input in the text-box:

"first line
second line"

then jenkins calling maven in the following way:

[testwebapp_svn_commit] $ D:\applications\prg\ApacheMaven\current-maven\bin\mvn.bat -Dbuild_reason_org=first line
scond line -Dpart_svn_url=trunk/devopts/testprojects validate

This causes maven to simple run the default goal and ignore all other parameters.
It seems that the text parameter is not escaped correct.

This problem does not apply only to maven .. it applies to all builds where such parameter is injected.

  • Waffel
Environment: Jenkins 1.583, Windows, Java 7U72
Project: Jenkins
Labels: jenkins maven3 parameter build
Priority: Major Major
Reporter: Thomas Wabner
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to