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

In Pipeline Jobs, "Environment Variables" not shown in the build UI, and "injectedEnvVars.txt" is not created

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • envinject-plugin
    • None

      In Pipeline Jobs, "Environment Variables" not shown in the build UI, and "injectedEnvVars.txt" is not created.

      Just want to confirm, is that working as expected to not have 'injectedEnvVars.txt' generated in Pipeline jobs or it is a Bug?

          [JENKINS-72215] In Pipeline Jobs, "Environment Variables" not shown in the build UI, and "injectedEnvVars.txt" is not created

          Sam Darwin added a comment -

          Using the multibranch pipeline, I would like to inject variables from the UI, which might vary slightly between otherwise identical jobs.  

          What is the recommended way to do this?

          On this plugin page it says "the plugin does not provide full compatibility with Jenkins Pipeline."

          Ok.

          Is there another way to add environment variables from the UI?

          Shouldn't the multibranch pipeline (by default) include a field to set env variables?

           

          Sam Darwin added a comment - Using the multibranch pipeline, I would like to inject variables from the UI, which might vary slightly between otherwise identical jobs.   What is the recommended way to do this? On this plugin page it says "the plugin does not provide full compatibility with Jenkins Pipeline ." Ok. Is there another way to add environment variables from the UI? Shouldn't the multibranch pipeline (by default) include a field to set env variables?  

            Unassigned Unassigned
            my_only_lonely Artie
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: