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

Environment Injector Plugin Doesn't work with the Latest Versions of Jenkins

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • envinject-plugin
    • None

      Recently we have upgraded Jenkins from version 1.632 to 2.60.1 stable version in test instance, also we have updated all the plugins to latest version, environment injector plugin is one of which we have updated from 1.92.1 version to 2.1.3 version, since then we are having trouble using the plugin, is there any workaround for using the plugin in normal way ?

      Note: If i downgrade the plugin to 1.92.1 it works fine.

          [JENKINS-45631] Environment Injector Plugin Doesn't work with the Latest Versions of Jenkins

          Naveen Bathula created issue -

          Oleg Nenashev added a comment -

          Please clarify what the issue you have. "doesn't work" is not a bug report.

          https://wiki.jenkins.io/display/JENKINS/How+to+report+an+issue

          Oleg Nenashev added a comment - Please clarify what the issue you have. "doesn't work" is not a bug report. https://wiki.jenkins.io/display/JENKINS/How+to+report+an+issue

          Hello oleg_nenashev,

          Here is the issue

          when i sent in the path as "set ANT_HOME=C:\apache-ant-1.8.2" using environment injector plugin, it is avoiding the slash as below and failing the build
          ANT_HOME=C:apache-ant-1.8.2

          Naveen Bathula added a comment - Hello oleg_nenashev , Here is the issue when i sent in the path as "set ANT_HOME=C:\apache-ant-1.8.2" using environment injector plugin, it is avoiding the slash as below and failing the build ANT_HOME=C:apache-ant-1.8.2

          Oleg Nenashev added a comment -

          As designed. See JENKINS-31573 and the compatibility notes for 1.93

          Oleg Nenashev added a comment - As designed. See JENKINS-31573 and the compatibility notes for 1.93
          Oleg Nenashev made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-31573 [ JENKINS-31573 ]

            oleg_nenashev Oleg Nenashev
            navstar3 Naveen Bathula
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: