setComplianceConfiguration

On this page
Back to index

Summary

[PREVIEW] This API is in preview mode, and therefore subject to change. Sets the Compliance configuration.
authenticationToken
Stringoptional
Authentication token used to authenticate the requests sent to CloudBees Compliance. The authentication token must be set if integration with Compliance is enabled.
complianceUrl
Stringoptional
CloudBees CD/RO communicates with CloudBees Compliance using this URL. This URL must be set if integration with Compliance is enabled.
enabled
Booleanoptional
If true, enables communication with CloudBees Compliance.
testConnection
Booleanoptional
Whether the connection to CloudBees Compliance should be tested before saving the configuration. Defaults to true.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.setComplianceConfiguration( /* optional arguments */ )