Input widget for Groovy script needs to be textarea first time showing uploaded job.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Mark Chance
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: