Configuring the Artifactory Integration Plugin Properties File

You must modify the blackDuckArtifactoryIntegration.properties file before the plugin can function, which you configure by manually editing the property file using any text editor. You can edit any property, including the default values.  

The following is an overview of important settings in the blackDuckArtifactoryIntegration.properties file

Black Duck connection credentials

You require a connection to Black Duck that you configure in the properties file.

At a minimum, you must add the token blackduck.api.token=<BD API token> and the Black Duck URL under BlackDuck credentials in the property file.
# BlackDuck credentials

blackduck.url=
blackduck.api.token=

If you are using an access token and are not using a Proxy for Black Duck, this is all the information you need for the Credentials section in the properties file.

Artifactory Integration configuration setting

In order for the Artifactory Integration plugin to load properly, you are required to provide the name of a Artifactory Servers Integration that has been previously configured in your Black Duck instance. As the Artifactory Integration plugin is loaded, the Black Duck instance will be contacted and the configuration for the plugin will be retrieved based on the name provided.

# Artifactory Integration configuration

blackduck.artifactory.config.name=

Properties file

You must modify the following properties file before the plugin can function.

Properties file

# suppress inspection "UnusedProperty" for whole file    # BlackDuck credentials blackduck.url= blackduck.api.token= blackduck.timeout=120 blackduck.proxy.host= blackduck.proxy.port= blackduck.proxy.username= blackduck.proxy.password= blackduck.trust.cert=false # Artifactory Integration configuration blackduck.artifactory.config.name=    # General # The date time pattern used by the artifactory to display the scan/inspection timestamp. # blackduck.artifactory.scan.cutoff.date must comply to this pattern blackduck.date.time.pattern=yyyy-MM-dd'T'HH:mm:ss.SSS blackduck.date.time.zone=    # Analytics blackduck.artifactory.analytics.enabled=true

 

©2023 Synopsys, Inc. All Rights Reserved