User Plugins

JFrog Integrations Documentation

Content Type
Integrations

Note

JFrog Workers is the newer, recommended way to easily extend the JFrog Platform (not just Artifactory) in a cloud-native way. While plugins are supported, we strongly suggest using JFrog Workers whenever possible. Learn moreWorkers

Important

Removal and Backup of Mission Control Plugins

The following Mission Control plugins, which were created during the initial days specifically for Mission Control, are no longer required by any JFrog products. As a result, these plugins will be removed in the upcoming version 7.117 and backup files are created with a .backup extension.

  • internalUser.groovy

  • ldapSettingsConfig.groovy

  • ldapGroupsConfig.groovy

  • haClusterDump.groovy

  • repoLayoutsConfig.groovy

  • proxiesConfig.groovy

  • propertySetsConfig.groovy

  • requestRouting.groovy

  • httpSsoConfig.groovy

  • pluginsConfig.groovy

Backup Files

After the above plugins removal, backup files with a .backup extension will be created for each of these plugins as shown below. These backup files ensure that administrators can re-enable the functionality if a specific need arises.

  • internalUser.groovy.backup

  • ldapSettingsConfig.groovy.backup

  • ldapGroupsConfig.groovy.backup

  • haClusterDump.groovy.backup

  • repoLayoutsConfig.groovy.backup

  • proxiesConfig.groovy.backup

  • propertySetsConfig.groovy.backup

  • requestRouting.groovy.backup

  • httpSsoConfig.groovy.backup

  • pluginsConfig.groovy.backup

Re-enable Plugins

If there is a requirement to use any of these removed plugins, rename the associated backup file to a different name than its original plugin name. This prevents potential conflicts and ensures the system recognizes it as a newly introduced or re-enabled plugin.

For example, if you want to re-enable the internalUser.groovy, which is backed up as internalUser.groovy.backup, you would rename this backup file to something like internalUser_custom.groovy. After renaming, the system needs to be reloaded for the changes to take effect.

The steps for renaming and reloading vary depending on whether your JFrog platform is self-hosted or cloud-based.

Self-Hosted (SH) Platform
  1. Access the Directory: Navigate to the directory where the backup plugin files are located:

    $JFROG_HOME/artifactory/var/etc/artifactory/
  2. Rename the Backup File: Execute the rename command.

    For example:

    mv internalUser.groovy.backup internalUser_custom.groovy

    Note

    Rename the backup file to a different name than its original plugin name.

  3. Reload the Plugin: Restart or reload your JFrog Artifactory service to ensure the new plugin file is recognized. To learn how to reload, refer to Deploy Plugins docuemntation.

Cloud Platform
  1. Contact Support: Reach out to JFrog support if you have specific needs regarding the plugins, including any help with the backup files.

  2. Provide Information: When contacting support, clearly indicate which plugins you wish to re-enable.

You can easily extend Artifactory's behavior with your own plugins written in Groovy.

User plugins are used for running user's code in Artifactory. Plugins allow you to perform the following tasks:

  • Add scheduled tasks

  • Extend Artifactory with your own security realms

  • Change resolution rules

  • Manipulate downloaded content

  • Respond to any storage events on items and properties

  • Deploy and query artifacts and metadata

  • Perform searches

  • Query security information

  • Invoke custom commands via REST

  • Execute custom promotion logic

  • Provide information and strategies for Artifactory's Build Servers Plugins.

During the development phase, you can change plugin source files and have your plugins redeployed on-the-fly. You can even debug the plugin code using your favorite IDE.

Groovy Version

Groovy 3.0.9 is supported