|
||||||||
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-11535) Jenkins job... ki...@tiuhti.net (JIRA)
- [JIRA] (JENKINS-11535) Jenkin... chandramuralis+jenk...@gmail.com (JIRA)
- [JIRA] (JENKINS-11535) Jenkin... ki...@tiuhti.net (JIRA)
I ran into the same problem too. The output of "git rev-parse" just happens to contain a newline. So I happened to look at the manual page of rev-parse and saw this option:
--sq Usually the output is made one line per flag and parameter. This option makes output a single line, properly quoted for consumption by shell. Useful when you expect your parameter to contain whitespaces and newlines (e.g. when using pickaxe -S with git diff-*). In contrast to the --sq-quote option, the command input is still interpreted as usual.