Skip to content

Commit

Permalink
Merge pull request #1343 from blackducksoftware/cp_IDETECT-4603
Browse files Browse the repository at this point in the history
Remove password ref. and fix formatting for Jenkins doc.
  • Loading branch information
cpottsbd authored Jan 27, 2025
2 parents b3d01f2 + 29ab0a6 commit 961581e
Showing 1 changed file with 25 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
# Configuring the Jenkins Plugin
Use the following process to configure the [detect_product_long] for Jenkins plugin.  Note that the supported credential formats are user name and password or API token.  SAML is not supported.
Use the following process to configure the [detect_product_long] for Jenkins plugin. Note that the supported credential format is API token. SAML or username/password authentication are not supported.

1. After installing, navigate to **Manage Jenkins** > **Configure System**.
1. Navigate to the **[detect_product_short]** section, and complete the following.
1. **Global download strategy**: Depending on your desired deployment method, select either the option to **Install Air Gapped Detect as a Tool Installation** or **Download via scripts or use DETECT\_JAR** from the drop-down list.

<figure>
<img src="../jenkinsplugin/images/Configuring1.png"
alt="Global download strategy Air Gap">
<figcaption>Global download strategy Air Gap.</figcaption>
</figure>
<figure>
<img src="../jenkinsplugin/images/Configuring1.png"
alt="Global download strategy Air Gap">
<figcaption>Global download strategy Air Gap.</figcaption>
</figure>

<figure>
<img src="../jenkinsplugin/images/Configuring2.png"
alt="Global download strategy Scripts/Jar">
<figcaption>Global download strategy Scripts/Jar.</figcaption>
</figure>

<figure>
<img src="../jenkinsplugin/images/Configuring2.png"
alt="Global download strategy Scripts/Jar">
<figcaption>Global download strategy Scripts/Jar.</figcaption>
</figure>

1. **[bd_product_short] URL**: URL to your [bd_product_short] server instance.
1. **[bd_product_short] credentials**: To add credentials, click **Add** > **Jenkins**, and then select the type of credentials that you want to add and populate the relevant fields.
1. **[bd_product_short] URL**: Specify the URL of your [bd_product_short] server instance.
1. **[bd_product_short] credentials**: To add credentials, click **Add** > **Jenkins**, and select API Token as the credential that you want to add and populate the relevant fields.
When you add credentials, you can select those credentials that you want from the drop-down menu to authenticate to the [bd_product_short] server. 
1. For user API tokens, select **Secret text** from the menu in the **Kind** field, then provide your [bd_product_short] access token in the **Secret** field.
<figure>
<img src="../jenkinsplugin/images/Configuring3.png"
alt="Inputting the access token secret">
<figcaption>Input access token secret.</figcaption>
</figure>
1. The other option for credentials is **Username with password**.
1. For user API tokens, select **Secret text** from the menu in the **Kind** drop-down, then provide your [bd_product_short] access token in the **Secret** field that appears.
<figure>
<img src="../jenkinsplugin/images/Configuring3.png"
alt="Inputting the access token secret">
<figcaption>Input access token secret.</figcaption>
</figure>

1. The **Advanced...** option displays for [bd_product_short]. Advanced settings enable you to specify values for:
1. **[bd_product_short] connection timeout** (in seconds).  The default value is 120.
1. **Trust [bd_product_short] certificates**: Select the checkbox to allow (SSL) certificates from [bd_product_short].
<figure>
<img src="../jenkinsplugin/images/Configuring4.jpg"
alt="Configure connection timeout and SSL">
<figcaption>Configure timeout and SSL.</figcaption>
</figure>
<figure>
<img src="../jenkinsplugin/images/Configuring4.jpg"
alt="Configure connection timeout and SSL">
<figcaption>Configure timeout and SSL.</figcaption>
</figure>
1. Click **Test Connection to [bd_product_short]** to verify that your settings are correct. If so, a *Connection successful!* status displays.
1. Click **Save**.

0 comments on commit 961581e

Please sign in to comment.