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

Workflow plugin gives no access to build parameters or environment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      Are there bindings available to the build environment to access build parameters or stuff like the build number?
      Where are they documented?

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Parameters are directly accessible as Groovy variables. BUILD_NUMBER and the like are environment variables.

          Show
          jglick Jesse Glick added a comment - Parameters are directly accessible as Groovy variables. BUILD_NUMBER and the like are environment variables.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          TUTORIAL.md
          http://jenkins-ci.org/commit/workflow-plugin/d3e64f600fcb9bc2c4323abe138d23af90e9700f
          Log:
          JENKINS-26194 Noting default environment variables and parameters.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: TUTORIAL.md http://jenkins-ci.org/commit/workflow-plugin/d3e64f600fcb9bc2c4323abe138d23af90e9700f Log: JENKINS-26194 Noting default environment variables and parameters.

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              hmf Hans Marggraff
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: