[JIRA] (JENKINS-43137) Version 1.1.1 of Pipeline Model Definition plugin does not allow triple quoted strings.

2 views
Skip to first unread message

robci@khobbits.co.uk (JIRA)

unread,
Mar 27, 2017, 1:54:01 PM3/27/17
to jenkinsc...@googlegroups.com
Robert Gornall created an issue
 
Jenkins / Bug JENKINS-43137
Version 1.1.1 of Pipeline Model Definition plugin does not allow triple quoted strings.
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2017/Mar/27 5:53 PM
Environment: Jenkins 2.52
Pipeline 1.1.1
Priority: Minor Minor
Reporter: Robert Gornall

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Mar 27, 2017, 2:46:01 PM3/27/17
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Mar 27, 2017, 2:46:01 PM3/27/17
to jenkinsc...@googlegroups.com
Andrew Bayer started work on Bug JENKINS-43137
 
Change By: Andrew Bayer
Status: Open In Progress

andrew.bayer@gmail.com (JIRA)

unread,
Mar 27, 2017, 2:47:01 PM3/27/17
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:17 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages