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

Access credentials value from workflow Groovy script

      In addition to the block syntax to bind credentials into enviornment variables, we want a function that allows workflow scripts to load the credentials into the script, so that it can be used for arbitrary purposes.

      This including passing API tokens as command-line options to Gradle invocation

          [JENKINS-27386] Access credentials value from workflow Groovy script

          Kohsuke Kawaguchi created issue -
          Jesse Glick made changes -
          Labels New: workflow
          Jesse Glick made changes -
          Labels Original: workflow New: api workflow
          Kohsuke Kawaguchi made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Kohsuke Kawaguchi [ kohsuke ]
          Jesse Glick made changes -
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          Jesse Glick made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-32314 [ JENKINS-32314 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-27398 [ JENKINS-27398 ]
          Jesse Glick made changes -
          Epic Link New: JENKINS-35394 [ 171187 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161591 ] New: JNJira + In-Review [ 180756 ]
          Andrew Bayer made changes -
          Labels Original: api workflow New: api pipeline workflow

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: