• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, envinject-plugin
    • None
    • EnvInject Plugin 2.1.5

      Steps to reproduce:

      1. Set an environment variable in global configuration for example GIT_URL=https://some/url/$PROJECT

      2. Set parameter of PROJECT=netvirt for example
      3. Create a job that calls "inject" setting a different parameter for example "VAR=123" and then in a shell step immediately after "echo $GIT_URL".

      4. Run job

      Issue:

      GIT_URL is overrided by inject to be a literal string of '$GIT_URL/netvirt/netvirt/netvirt/netvirt'

      Expected result:

      The inject plugin should not be overriding existing variables that are not passed in during the inject call.

          [JENKINS-49775] envinject overrides some variables

          Oleg Nenashev added a comment -

          Somebody needs to verify that, but probably it's not an EnvInject regression.
          Maybe the core it self consults with other vars when injecting environment

          Oleg Nenashev added a comment - Somebody needs to verify that, but probably it's not an EnvInject regression. Maybe the core it self consults with other vars when injecting environment

          Oleg Nenashev added a comment -

          Unfortunately I will not have time to work on EnvInject issues for a while. I decided to unassign all issues so that somebody can take them and finalize.

          Context: The plugin has been waiting for adoption for ~2 years. During all this time I was trying to keep this plugin afloat by reviewing the incoming pull requests, fixing defects and keeping the codebase up to date to simplify the handover. But I have not been using this plugin on my own so that such maintenance was a bit lame. I invite all active users to contribute to the plugin by taking ownership of this plugin and of EnvInject API. I am happy to provide any required knowledge transfers and do some assistance during the first months of maintenance

          Oleg Nenashev added a comment - Unfortunately I will not have time to work on EnvInject issues for a while. I decided to unassign all issues so that somebody can take them and finalize. Context: The plugin has been waiting for adoption for ~2 years. During all this time I was trying to keep this plugin afloat by reviewing the incoming pull requests, fixing defects and keeping the codebase up to date to simplify the handover. But I have not been using this plugin on my own so that such maintenance was a bit lame. I invite all active users to contribute to the plugin by taking ownership of this plugin and of EnvInject API. I am happy to provide any required knowledge transfers and do some assistance during the first months of maintenance

            Unassigned Unassigned
            zxiiro Thanh Ha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: