Peter D'mello
unread,Dec 30, 2011, 4:30:09 PM12/30/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
The text parameter is pretty buggy. One way of putting multiline values is by entering multiline input directly in the config.xml file. After reloading jenkins, if you look at the configure page of the job, you'll notice that the multi-line input is a space separated value, however, if you go to build the job, you'll see that the default value is still multi-line.
However, if you were to save the configuration, the newline disappears and the input is space separated. So, you need to be careful about saving the configuration from the browser if you have entered the multiline input by directly modifying the config.xml file.
The Text Parameter seems to work, however, since the value will be a shell (UNIX/Windows) env variable, proper escape sequence should be used. For example, i had issues when " (quotes) and = (equals) were present in my default input. So, i had to replace all occurences of equals with a different character (e.g. |) and quotes could be escaped with a backslash.