I am creating a job via the API which has configured this plugin and the System Groovy Choice Parameter. The groovy script is part of the job configuration XML, however it gets "corrupted" upon upload.
I believe the problem is that the default input widget is a input type='text' control which strips out the \n characters. After I use the GUI to change it to a text area, it stays that way. I don't know how it knows or how it make it a textarea the first time through.