|
1 | 1 | # Downloading, Installing, and Updating the Plugin
|
2 |
| -To install the [company_name] [detect_product_short] for Jenkins plugin, perform the following steps: |
3 | 2 |
|
4 |
| -1. Navigate to **Manage Jenkins** > **Manage Plugins**. |
5 |
| -1. Select the **Available** tab. (Note that if the plugin is already installed, it does not appear in the **Available** list.) |
6 |
| -1. Select **Blackduck Detect**. |
7 |
| -1. Click **Download now and install after restart**. This is the recommendation for installing the plugin. |
8 |
| -1. After restarting Jenkins, confirm that the plugin is successfully installed by navigating to **Manage Jenkins** > **Manage Plugins > Installed**, and verify that **[company_name] [solution_name]** displays in the list. |
| 3 | +## Downloading and Installing |
| 4 | +To install the [detect_product_short] for Jenkins plugin, perform the following steps: |
9 | 5 |
|
10 |
| -[company_name] [detect_product_short] plugin for Jenkins GitHub page [jenkinsci](https://github.com/jenkinsci/synopsys-detect-plugin). |
11 |
| -Additional download locations listed in [Download locations](../../downloadingandrunning/downloadlocations.html). |
12 |
| - |
13 |
| -## Updating the [company_name] [detect_product_short] for Jenkins plugin |
14 |
| -You can update the [company_name] [detect_product_short] for Jenkins plugin when new versions are released. |
| 6 | +1. Navigate to **Manage Jenkins** > **Manage Plugins**. |
| 7 | +1. Select the **Available** tab. (Note that if the plugin is already installed, it does not appear in the **Available** list.) |
| 8 | +1. Select **Blackduck [detect_product_short]**. |
| 9 | +1. Click **Download now and install after restart**. This is the recommendation for installing the plugin. |
| 10 | +1. After restarting Jenkins, confirm that the plugin is successfully installed by navigating to **Manage Jenkins** > **Manage Plugins > Installed**, and verify that **[company_name] [solution_name]** displays in the list. |
15 | 11 |
|
16 |
| -**To update the Jenkins plugin:** |
| 12 | +[detect_product_short] plugin for Jenkins GitHub page [jenkinsci](https://github.com/jenkinsci/blackduck-detect-plugin). |
| 13 | +Additional download locations listed in [Download locations](../../downloadingandrunning/downloadlocations.html). |
17 | 14 |
|
18 |
| -1. Navigate to **Manage Jenkins** > **Manage Plugins**. |
19 |
| -1. Click the **Updates** tab. |
20 |
| -1. Select **Blackduck Detect** |
21 |
| - 1. If there are updates for the [company_name] [detect_product_short] for Jenkins plugin, the updates display in the list. If there is not an available update, the [company_name] [detect_product_short] for Jenkins plugin does not display in this list. |
22 |
| - 1. Alternatively, you can force Jenkins to check for plugin updates by clicking **Check now** on the **Updates** tab. |
23 |
| -1. If there are updates, select the one you want, and click **Download now and install after restart**. |
| 15 | +## [company_name] [solution_name] Jenkins plugin to [detect_product_long] Jenkins plugin{#updating-existing-jenkins} |
| 16 | +For existing [company_name] [solution_name] Jenkins plugin users, the [detect_product_long] Jenkins plugin should be considered a fresh installation as the domain has changed. |
| 17 | +* Before moving from the [detect_product_short] Jenkins plugin to the [detect_product_long] Jenkins plugin, you should take note of your existing system configuration and post-build setup. |
| 18 | + * Configuration information can be located under your `JENKINS_HOME` directory. |
| 19 | +* If you are utilizing a [detect_product_short] Post Build Step, before upgrading to the [detect_product_long] plugin, make sure to record the current configuration set in the configurable pipelines. |
| 20 | + * For Groovy, you will need to update the **Pipeline** script; under **Pipelines** > **Pipeline_Name** > **Configuration**, replacing the `synopsys_detect detectProperties:` portion of the script with `blackduck_detect detectProperties:` |
| 21 | + |
| 22 | + Example: |
| 23 | +``` |
| 24 | + node ('built-in') { |
| 25 | +
|
| 26 | + stage ('Git - Checkout') { |
| 27 | + git 'https://github.com/yarnpkg/example-yarn-package.git' |
| 28 | + } |
| 29 | + stage ('Black Duck - Detect') { |
| 30 | + blackduck_detect detectProperties: '--blackduck.trust.cert=true --detect.wait.for.results=true', downloadStrategyOverride: [$class: 'ScriptOrJarDownloadStrategy'] |
| 31 | + |
| 32 | + } |
| 33 | +} |
| 34 | +``` |
| 35 | + |
| 36 | +* For the System Configuration and [bd_product_long], before upgrading to the [detect_product_long] plugin, make sure to back up, or record the current configuration set for the [bd_product_short] URL and token that you have set in Manage Jenkins > Configure System > [detect_product_long] section. |
| 37 | +* If you are using Air Gap mode, before upgrading to the [detect_product_long] plugin, make sure to save the current tool configuration that you have set in Manage Jenkins > Tools > Detect Air Gap mode. |
| 38 | + |
| 39 | +## Updating the [detect_product_long] for Jenkins plugin |
| 40 | +You can update the [detect_product_short] for Jenkins plugin when new versions are released. |
| 41 | + |
| 42 | +1. Navigate to **Manage Jenkins** > **Manage Plugins**. |
| 43 | +1. Click the **Updates** tab. |
| 44 | +1. Select **Blackduck Detect** |
| 45 | + 1. If there are updates for the [detect_product_short] for Jenkins plugin, the updates display in the list. If there is not an available update, the [detect_product_short] for Jenkins plugin does not display in this list. |
| 46 | + 1. Alternatively, you can force Jenkins to check for plugin updates by clicking **Check now** on the **Updates** tab. |
| 47 | +1. If there are updates, select the one you want, and click **Download now and install after restart**. |
24 | 48 |
|
25 | 49 | <!-- Commenting out until the script is updated to support the current releases
|
26 | 50 | ## Migrating from plugin version 1.5.0
|
|
0 commit comments