|
||||||||
|
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.

I experienced this when we tried using the Build User Vars Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin)
The new system properties are escaped correctly in other plugins, but the Grails plugin breaks with an incorrectly quoted BUILD_USER parameter. See a snippet of the log results below.
Pulling out the Grails plugin and calling Grails directly with Execute Shell, I used the "Possible Fix" suggested in the description and it worked.
Putting -DBUILD_USER=\"John Doe\" in the shell command, translated to '-DBUILD_USER="John' 'Doe"' being displayed in the output of the script and the build executed successfully.