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

Tool Environment Plugin doesn't remove old tools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • toolenv-plugin
    • None

      An error in one of our jobs produced:
      18:58:34 ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
      Which leads me to believe that removing a tool from /configureTools/ you are unable to deselect it from the "Tool Environment" checkboxes in a job configbut it remains in the config.xml of the job, which can cause problems if the location no longer exists.

      The fix is to remove the missing location from config.xml

          <hudson.plugins.toolenv.ToolEnvBuildWrapper plugin="toolenv@1.1">
            <vars>-GRADLE_3_4_RC_2_HOME,-GRADLE_4_3_HOME</vars>
          </hudson.plugins.toolenv.ToolEnvBuildWrapper>

       

            Unassigned Unassigned
            pono Pono Takamori
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: