jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-57157] Global Tools fail to update automatic installs
- Lingua principale
- Java
- Stelle
- 73
- Fork
- 129
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.