How to determine if a plugin is in use (2024)

As a CloudBees CI administrator, you need to maintain and periodically clean up your inventory of plugins to keep your CloudBees CI instances lean. This is considered best practice to ensure system stability and optimal performance. Having fewer plugins also typically means less upgrade risk and less verification effort needed during an upgrade.

To help you maintain your plugin inventory, the CloudBees Plugin Usage Analyzer plugin automatically generates a weekly report that shows you where installed plugins are being used.

The CloudBees Plugin Usage Analyzer plugin analyzes existing builds and executions of Pipelines, configuration files in instances, and all active plugin dependencies to find the locations where plugins are used.

The CloudBees Plugin Usage Analyzer report shows the following information:

The analysis report is generated automatically. The first analysis runs between 15 and 60 minutes after Jenkins is restarted, and then every week thereafter at that same time.

Some plugins may not be included in the report because they are not directly mentioned in any stored configurations or the five most recent Pipeline executions. The report includes usage only for plugins in Freestyle jobs and Pipeline jobs. Plugins that do not contribute anything to jobs, for example security plugins such as active-directory and LDAP, are not included in the usage report.

Downloading the plugin usage report

The CloudBees Plugin Usage Analyzer plugin report can be downloaded as a JSON file.

To download the report from the user interface:

  1. Go to Manage Jenkins.

  2. In the Tools and Actions section, select Plugin Usage.

  3. Select Download report.

To download the report from the command line:

  1. Type the following command:

    curl --user "user:userToken" --request GET https://instanceUrl/pluginUsage/download

    • For user, enter a user with Administrator permissions

    • userToken is a token generated by this user

    • instanceUrl is the root url of the instance

Canceling a plugin usage report

You can cancel an analysis while it is in progress.

It may take some time for the analysis to stop after you cancel it. The analysis of the current element or the gathering of elements to be analyzed must complete before the analysis can stop.

To cancel a plugin usage report:

  1. Go to Manage Jenkins.

  2. In the Tools and Actions section, select Plugin Usage.

  3. Select Cancel analysis.

  4. Click OK.

How to determine if a plugin is in use (2024)

FAQs

How do you check if a plugin is being used? ›

In the Tools and Actions section, select Plugin Usage. To see the list of locations where a plugin is used, click the down arrow on the right side of the row for a plugin.

How do I test a WordPress plugin? ›

To check a plugin using WP Admin, please navigate to the Tools > Plugin Check menu. You need to be able to manage plugins on your site in order to access that screen. The checks are grouped into several categories, so that you can customize which kinds of checks you would like to run on a plugin.

How do I know if a plugin is loaded in Vim? ›

You could use :scriptnames which list all sourced files. Another option is to check for the variable indicating if the plugin was loaded, as it is recommended practice to allow the user to disable the loading of a given plugin. . You usually can find g:loaded_... variable inside the <plugin_name>/plugin folder.

How do I find plugin conflicts? ›

To determine the source of the conflict, you can deactivate plugins one-by-one and see if that resolves the problem. Once you deactivate a plugin, you can go back to try and recreate the issue and if you're running into the same problem, you'll know what's behind it.

How can I tell if a WordPress plugin is being used? ›

Easiest way: Using a WordPress plugin detector

The most accurate we've found is Scan WP. Find the website you want to scan and enter the URL into the box at the top of the page. Click the Detect button, and you'll see a list of all the website's plugins.

How do I know if a WordPress plugin is active? ›

To check if a plugin is active, we can use is_plugin_active() . There are two ways to use this function, depending on whether you're in the Admin Area or on the front-end (i.e., via theme template).

How do you check if a file is open in Vim? ›

In vim, you can check if a file is open in the current buffer with bufexists . For a short filename (not full path), you can check if it's open using bufexists(bufname('filename')) .

Can you see when a plugin was installed? ›

Check the plugin's information in the WordPress repository: Go to the plugin's page in the WordPress repository (WordPress Plugins ) and look for the "Last Updated" field. This will show you the date the plugin was last updated, which can give you an idea of when it was originally installed.

Where does Vim look for plugins? ›

vim File. By default, Vim expects us to place our config and plugins in the ~/. vim directory.

How do I fix plugin problems? ›

Navigate to Plugins → Installed Plugins and deactivate the plugin(s) you determined to be the source of the issue. You can leave the plugin deactivated and contact the plugin's developer to fix the problem.

How do I fix WordPress plugin problems? ›

Deactivating and Activating Plugins

If updating doesn't solve the problem, you can try deactivating and reactivating your plugins to identify the issue: Deactivate Plugins: Go to the Plugins section in your WordPress dashboard. Deactivate all your plugins. Check the Website: Check if the issue still exists.

How do I check plugins in Chrome? ›

Plugins. Extension manager with shortcuts to Chrome plugins pages. When installed, it will add "Plugins" button to the toolbar. Click the icon (or press Ctrl+Shift+E) and you'll open the "plugins" menu.

How do I find plugins on my computer? ›

If you're using Chrome, type “chrome://plugins” (without quotation marks) in the address bar and press “Enter.” In Firefox, click “Firefox” or “Tools,” select “Add-ons” and then select “Plugins.” In Internet Explorer 11 for the desktop, click the gear icon, select “Manage Add-ons,” click the field below Show and then ...

Top Articles
Latest Posts
Article information

Author: Rueben Jacobs

Last Updated:

Views: 6361

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Rueben Jacobs

Birthday: 1999-03-14

Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

Phone: +6881806848632

Job: Internal Education Planner

Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.