Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26049

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          java1guy Mark Chance added a comment -

          I was stripping out the \n myself.

          Show
          java1guy Mark Chance added a comment - I was stripping out the \n myself.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            java1guy Mark Chance
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: