[JIRA] (JENKINS-38332) Input steps to set their result as an environment variable

2 views
Skip to first unread message

mneale@cloudbees.com (JIRA)

unread,
Sep 19, 2016, 1:18:04 AM9/19/16
to jenkinsc...@googlegroups.com
Michael Neale created an issue
 
Jenkins / New Feature JENKINS-38332
Input steps to set their result as an environment variable
Issue Type: New Feature New Feature
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2016/Sep/19 5:17 AM
Priority: Minor Minor
Reporter: Michael Neale

The most idiomatic way to use input result values in pipeline model script is to set it as an (environment) variable which subsequent steps or stages can use.

Pipeline model doesn't have explicit variables, so this is likely the only way.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

mneale@cloudbees.com (JIRA)

unread,
Sep 19, 2016, 2:24:01 AM9/19/16
to jenkinsc...@googlegroups.com

mneale@cloudbees.com (JIRA)

unread,
Sep 19, 2016, 2:24:01 AM9/19/16
to jenkinsc...@googlegroups.com

pwolf@cloudbees.com (JIRA)

unread,
Sep 19, 2016, 2:04:03 PM9/19/16
to jenkinsc...@googlegroups.com
Patrick Wolf commented on New Feature JENKINS-38332
 
Re: Input steps to set their result as an environment variable

This is a problem in both Declarative Pipeline and Pipeline Script. We need to solve the underlying problem for both

andrew.bayer@gmail.com (JIRA)

unread,
Sep 19, 2016, 2:11:01 PM9/19/16
to jenkinsc...@googlegroups.com

Which means solving it in the input step, since we'll get whatever benefits from that for free elsewhere.

pwolf@cloudbees.com (JIRA)

unread,
Sep 19, 2016, 2:22:01 PM9/19/16
to jenkinsc...@googlegroups.com
Patrick Wolf updated an issue
 
Change By: Patrick Wolf
Component/s: pipeline-input-step-plugin

andrew.bayer@gmail.com (JIRA)

unread,
Sep 21, 2016, 12:33:01 PM9/21/16
to jenkinsc...@googlegroups.com
Andrew Bayer resolved as Duplicate
 

Switching this over to JENKINS-38394 which is a more general-purpose version of this.

Change By: Andrew Bayer
Status: Open Resolved
Resolution: Duplicate

mneale@cloudbees.com (JIRA)

unread,
Sep 21, 2016, 8:19:01 PM9/21/16
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

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

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