Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38394

Ability to set output of a step to environment variable(s)

      When using steps like input that capture data from a user, it makes sense to be able to set the resultant values to environment variables.

      This could be generalised to other steps that return values (perhaps as maps).

      In pipeline-model, the way data is passed around is via (environment) variables as there are no local variables, so the ability to set environment variables to the output is required.

          [JENKINS-38394] Ability to set output of a step to environment variable(s)

          Michael Neale created issue -
          Andrew Bayer made changes -
          Link New: This issue is duplicated by JENKINS-38332 [ JENKINS-38332 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-34101 [ JENKINS-34101 ]
          James Dumay made changes -
          Epic Link New: JENKINS-45422 [ 183590 ]
          Andrew Bayer made changes -
          Link New: This issue duplicates JENKINS-48379 [ JENKINS-48379 ]
          Andrew Bayer made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Liam Newman made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            abayer Andrew Bayer
            michaelneale Michael Neale
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: