Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get last installed/updated Jenkins plugins?

My Jenkins instance interface broken. I suspect recent plugin update as the cause. However I cannot remember which plugins get updated recently. I need to know so I can rollback plugin version to the previous one.

How to find this information?

Some possible way:

  • Jenkins log
  • Retrieving plugins info via Groovy console
like image 507
akhy Avatar asked May 26 '16 04:05

akhy


People also ask

Where are Jenkins plugins saved?

hpi` file into the JENKINS_HOME/plugins directory on the Jenkins controller (for example, on Debian systems JENKINS_HOME is generally /var/lib/jenkins ).

Do we need to restart Jenkins after installing plugins to see the installed plugin?

The main difference between 'with restart' and 'without restart' plugin installation is that you cannot upgrade or uninstall plugins without restart (because of the architectural choice made in Jenkins). So, new plugin can be installed without restart (and when other builds are running as well).


1 Answers

In my opinion, the most efficient way is go to the $JENKINS_HOME/plugins directory, then issue command:

ls -alt *.hpi *.jpi 

and the most recently update/installed plugins are ranking at the top of the results, hope this helps.

like image 56
mainframer Avatar answered Sep 23 '22 23:09

mainframer