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

Version 1.1.1 of Pipeline Model Definition plugin does not allow triple quoted strings.

    Details

    • Similar Issues:

      Description

      When using declarative pipelines, and defining environment variables to be multi line strings using triple quotes ('''), since 1.1.1, the pipeline fails to parse.

      Example input:

      https://gist.github.com/khobbits/e60a0b086fd73e6ea8ef64175dce0ab1

      Stack trace & error:

      https://gist.github.com/khobbits/8d7f0851fd3410d3369aacea1f896ad7

      Error Extract:

      hudson.remoting.ProxyException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      Script8.groovy: 1: expecting anything but ''\n''; got it anyway @ line 1, column 14.
      "STACK_INFO={

      Possibly related to JENKINS-42771

        Attachments

          Issue Links

            Activity

            khobbits Robert Gornall created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "PR #147 (Web Link)" [ 15815 ]
            abayer Andrew Bayer made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            bitwiseman Liam Newman made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                khobbits Robert Gornall
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: