Table of contents

Plugin management


Microsoft Azure CLI Plugin

Caution

The CloudBees Azure CLI plugin and its dependency, Azure Publisher Settings Credentials plugin, are deprecated due to a critical security vulnerability. If you are using the CloudBees Azure CLI plugin, please uninstall it and instead use the Azure CLI plugin, as explained in the Azure CLI article.

NOTE: The CloudBees Azure CLI plugin is disabled, but is not automatically uninstalled.

The CloudBees Azure CLI plugin is no longer supported, and customers who have been using this plugin are urged to replace it with the open source version. If you are using Cloudbees Azure CLI plugin version 1.2 or later, follow the steps below to update to a supported version.

Removing the CloudBees Azure CLI plugin

The Cloudbees Azure CLI plugin is no longer supported, and customers who have been using this plugin are urged to replace it with the open source version. If you are using Cloudbees Azure CLI plugin version 1.2 or later, follow the steps in this document to update to a supported version.

  1. First, verify that you are running a version which needs to be updated. Navigate to Manage Jenkins > Manage Plugins > Installed. If you are running either of these versions, then proceed to step #2

    Cloudbees Azure CLI Plugin v1.2:

    azure plugin v12

    Cloudbees Azure CLI Plugin v1.3

    azure plugin disabled
  2. Click Uninstall to remove the plugin. Click Yes on the next screen to confirm.

  3. Restart Jenkins to complete the uninstallation. You can perform a safe restart by visiting the following url: http://<your jenkins hostname>/safeRestart

Updating the plugin

Due to a bug in Jenkins Update Manager, you will need to manually download and install the new open source version of the Azure CLI plugin: https://plugins.jenkins.io/azure-cli

  1. Once you have downloaded the plugin, upload it using _Manage Jenkins > Manage Plugins > Advanced _ tab:

    azure upload plugin
  2. You should see a screen like this indicating the plugin has been installed:

    azure install plugin prep

You can also verify that the correct plugin has been installed by going to Manage Jenkins > Manage Plugins > Installed and verifying that the plugin is listed.