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

_BUILD_NAME, _BUILD_NUMBER, _BUILD_RESULT envs are not set on resume

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Postponed
    • Icon: Major Major
    • multijob-plugin
    • None

      When resuming a Job I'd expect the <JOB_NAME>_BUILD_NUMBER and other environment variables to be set to the values from the job being resumed (for subjobs that are not executed during resume)

      Without this one is forced to add special logic for sake of resuming build.
      It's bad because it clutters the config, and detecting the resume, retrieving the upstream cause and reading envs from it, while doable is not trivial.

            Unassigned Unassigned
            jbochenski Jakub Bochenski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: