getComplianceGateDecision

On this page
Back to index

Summary

Sends gate request to CloudBees Compliance and retrieves a decision.
This command is currently in preview and may change or be removed before release.
externalApplicationId
Stringrequired
Unique identifier for the application maintained by an external system and used to identify the application being deployed by the CloudBees CD/RO pipeline in CloudBees Compliance.
flowRuntimeStateId
Stringrequired
The ID of the flow runtime state.
releaseManifest
Stringrequired
Components (artifacts or container images) that are being deployed in the release payload, specified in JSON format.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getComplianceGateDecision( externalApplicationId: "test-externalApplicationId", flowRuntimeStateId: "test-flowRuntimeStateId", releaseManifest: "test-releaseManifest" )