Running "jenkins-plugin-manager.jar --list" deletes all installed plugins
See original GitHub issueRunning /usr/lib/jenkins-plugin-manager.jar --list
deletes all installed plugins.
Example:
jenkins@676e1f797b5e:/$ ls -l $REF/plugins
total 2484
-rw-r--r-- 1 jenkins jenkins 2262190 Aug 24 19:06 configuration-as-code.jpi
-rw-r--r-- 1 jenkins jenkins 277413 Aug 24 19:06 snakeyaml-api.jpi
jenkins@676e1f797b5e:/$ java -jar /usr/lib/jenkins-plugin-manager.jar --list
Installed plugins:
Bundled plugins:
Set of all requested plugins:
Set of all requested plugins that will be downloaded:
Set of all existing plugins and plugins that will be downloaded:
Done
jenkins@676e1f797b5e:/$ ls -l $REF/plugins
total 0
jenkins@676e1f797b5e:/$ java -jar /usr/lib/jenkins-plugin-manager.jar --version
2.0.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Managing Plugins - Jenkins
The simplest and most common way of installing plugins is through the Manage Jenkins > Manage Plugins view, available to administrators of a...
Read more >Managing Jenkins plugins from command line and GUI
Learn managing Jenkins plugin from command line and GUI. It includes how to install, Uninstall,Update and List Jenkins plugin.
Read more >Plugin Installation Manager Tool for Jenkins - GitHub
Download the latest jenkins-plugin-manager jar from here and run it as shown below. java -jar jenkins-plugin-manager-*.jar --war /your/path/to/jenkins.war ...
Read more >Unable to find plugins in list of available plugins in jenkins
Go to: Manage Jenkins → Manage Plugins → Advanced, then click Check now in the bottom right-hand corner. When you go back to...
Read more >jenkinsci/plugin-installation-manager-cli-tool - Gitter
java -jar /plugin-management-cli-*.jar --list --jenkins-update-center ... Will use default of /usr/share/jenkins/ref/plugins Using update center ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Working on a fix restoring the option
I’ve had an initial look at this, the flag doesn’t do what I expect at all.
It seems to be more about listing installation of plugins rather than a typical list command (which already get logged out anyway).
If no objections I would just completely re-work this to be a standalone flag that only lists installed plugins.
It would be a breaking change but I doubt people are actually using this