-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: pipeline-model-definition-plugin
-
Labels:None
-
Environment:Jenkins 2.52
Pipeline 1.1.1
-
Similar Issues:
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
- links to
PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/147