question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running "jenkins-plugin-manager.jar --list" deletes all installed plugins

See original GitHub issue

Running /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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
oleg-nenashevcommented, Dec 7, 2020

Working on a fix restoring the option

2reactions
timjacommented, Nov 14, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found