[JIRA] (JENKINS-52744) Using not existing environment variables in environment GString expression causes strange error message

2 views
Skip to first unread message

rsandell@cloudbees.com (JIRA)

unread,
Jul 25, 2018, 10:36:03 AM7/25/18
to jenkinsc...@googlegroups.com
rsandell created an issue
 
Jenkins / Bug JENKINS-52744
Using not existing environment variables in environment GString expression causes strange error message
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2018-07-25 14:35
Priority: Minor Minor
Reporter: rsandell

Mini reproduction case

pipeline {
    agent none
    environment {
        FOO = "${BAR?.contains('banana') ? 'bar has banana' : 'no bar or no banana'}"
    }
    stages {
        stage('echo') {
            steps {
                echo "FOO is ${FOO}"
            }
        }
    }
}


Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

andrew.bayer@gmail.com (JIRA)

unread,
Dec 6, 2018, 10:21:05 AM12/6/18
to jenkinsc...@googlegroups.com
Andrew Bayer updated an issue
Change By: Andrew Bayer
Sprint: Declarative backlog
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jtaboada@cloudbees.com (JIRA)

unread,
Dec 17, 2018, 6:30:02 AM12/17/18
to jenkinsc...@googlegroups.com
Jose Blas Camacho Taboada started work on Bug JENKINS-52744
 
Change By: Jose Blas Camacho Taboada
Status: Open In Progress

jtaboada@cloudbees.com (JIRA)

unread,
Dec 17, 2018, 6:30:02 AM12/17/18
to jenkinsc...@googlegroups.com

jtaboada@cloudbees.com (JIRA)

unread,
Dec 19, 2018, 4:20:03 AM12/19/18
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Jan 10, 2019, 11:06:02 AM1/10/19
to jenkinsc...@googlegroups.com
Andrew Bayer updated Bug JENKINS-52744
 

Merged, will be in the upcoming 1.3.5 release.

Change By: Andrew Bayer
Status: In Review Resolved
Resolution: Fixed

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:14 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