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

Allow build environment variables to be re-used in re-build

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: rebuild-plugin
    • Labels:
      None
    • Environment:
      Jenkins v1.596.2 Parameterized Trigger Plugin v2.29
    • Similar Issues:

      Description

      Currently although build parameters are re-used not re-using certain build environment variables can easily cause a rebuild to fail. As a result, I suggest to include an option to allow a re-build to use a set of the environment variables from the original build.

      A use case similar to JENKINS-13647 is the Parameterized Trigger Plugin which sets predefined environment variables for a downstream project before triggering a build. When such a downstream project is re-build it typically fails, as although the build parameters are preserved, the predefined environment variables are not. Otherwise this is a great and extremely useful plugin! Thank you!

        Attachments

          Activity

          ioannis Ioannis Moutsatsos created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 168839 ] JNJira + In-Review [ 183254 ]

            People

            Assignee:
            ragesh_nair ragesh_nair
            Reporter:
            ioannis Ioannis Moutsatsos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: