jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-57157] Global Tools fail to update automatic installs
- Vorherrschende Sprache
- Java
- Sterne
- 73
- Forks
- 129
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When a tool is upgraded versions or the automatic installer is changed, Jenkins does not update the tool installed on the build agent. For example, the Sonarqube plugin installs its scanner as a Global Tool with an automatic installer from maven (populated dropdown). If you change versions, the new version does not overwrite the previous version on the build agent.
Current workaround is to manually delete the tools directory from every build agent when upgrading any tools.
Expected behavior: either install the tool to a version specific directory based on the source (zip file name, maven version, etc) or overwrite the generic directory with whichever version is specified in Global Tool Configuration (either upgrade or downgrade)
---
Originally reported by jeubank, imported from: Global Tools fail to update automatic installs
Raw content of original issue
When a tool is upgraded versions or the automatic installer is changed, Jenkins does not update the tool installed on the build agent. For example, the Sonarqube plugin installs its scanner as a Global Tool with an automatic installer from maven (populated dropdown). If you change versions, the new version does not overwrite the previous version on the build agent.
Current workaround is to manually delete the tools directory from every build agent when upgrading any tools.
Expected behavior: either install the tool to a version specific directory based on the source (zip file name, maven version, etc) or overwrite the generic directory with whichever version is specified in Global Tool Configuration (either upgrade or downgrade)
- environment:
Jenkins 2.173, Pipeline Basic Steps 2.15, Sonarqube Scanner for Jenkins 2.8.1
Beitragsleitfaden
Rechercherichtung
The issue identifies Global Tool Configuration, automatic installers, and build agents but names no source file or test. Start by reproducing an automatic-install update with the listed Jenkins and plugin versions, then trace the tool-install path. Done means changing a configured tool version causes the agent's installed tool to upgrade or downgrade without manually deleting its tools directory.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100