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

Multiple "Inject Environment Variables" Build Steps All Show Same Content

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      Windows Server 2003 SP2
    • Similar Issues:

      Description

      The "Inject Environment Variables" build step does not allow for multiple build steps, but simply duplicates the first "Inject Environment Variables" build step regardless of the content that was added.

      Steps to reproduce:
      1) In the build steps phase, add "Inject Environment Variables" build step
      2) Fill the build step in with something (Properties File Path or Properties Content does not matter).
      3) Add another "Inject Environment Variables" build step.
      4) Fill in that build step as well with something different
      5) Select Save
      6) Select configure again to return to the job configuration

      Result:
      Both "Inject Environment Variables" content will display identical data, which will be the value of that from step #2 above. So essentially there is no way to invoke environment variables in multiple build steps.

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              pixman20 pixman20
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: