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

EnvInject plugin does not override variables defined as parameters for a job

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

      Simple job is attached to demonstrate the issue.

      Basically:

      • I have a parametrized build that is executing shell script
      • I am prepping the build env with EnvInject (groovy script)
      • If a parametric var is not defined the groovy script is supposed to set it from another that is defined
      • If target variable is not defined as parameter it works
      • If target variable is defined as parameter it fails.

      Versions:

      • Jenkins: 1.650
      • EnvInject: 1.92.1
      • OS: Linux
      • Setup: master + slaves
      • "Override Build Parameters" is set to true

          [JENKINS-33750] EnvInject plugin does not override variables defined as parameters for a job

          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

          William Yan added a comment -

          Seems duplicate to JENKINS-14437

          William Yan added a comment - Seems duplicate to  JENKINS-14437

            Unassigned Unassigned
            zeridon Vladimir Vitkov
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: