[JIRA] (JENKINS-56781) Option to use a variable for 'container' reference

2 views
Skip to first unread message

alex.dixon10305@gmail.com (JIRA)

unread,
Mar 27, 2019, 11:47:02 AM3/27/19
to jenkinsc...@googlegroups.com
Alex Dixon created an issue
 
Jenkins / Improvement JENKINS-56781
Option to use a variable for 'container' reference
Issue Type: Improvement Improvement
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2019-03-27 15:46
Labels: user-experience
Priority: Minor Minor
Reporter: Alex Dixon

For example, I will define all my containers in yaml and then I would like to make the container reference a variable.

 
stage("Build") {
    steps {
        script {
            container (${imageName}) {
 
This will make it easier to template JenkinsFiles for multiple builds that require a separate image.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 3:43:25 PM7/16/19
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Unassigned
Change By: Jesse Glick
Assignee: Carlos Sanchez
Reply all
Reply to author
Forward
0 new messages