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

Environment variable EXECUTOR_NUMBER should be usable inside node{} block

      Among few other environment variables that are generally available in freestyle job, EXECUTOR_NUMBER is not exposed in workflows.

      Referencing to the discussion in the attached URL, I would like to see this environment variable exposed especially inside node{} blocks where it makes the most sense. We have a similar use case as described in the discussion where workspaces are allocated based on the executor number, and currently workflow cannot handle this situation.

          [JENKINS-31391] Environment variable EXECUTOR_NUMBER should be usable inside node{} block

            vexdev Luca Vitucci
            oltzu Olli Sivonen
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: