PipelineRunProps
Properties for defining a PipelineRun
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-devops-pipelinerun
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdevops"
&alicloudroscdkdevops.PipelineRunProps {
OrganizationId: interface{},
PipelineId: interface{},
Params: interface{},
Sync: interface{},
Timeout: interface{},
}
Properties
Name | Type | Description |
---|---|---|
OrganizationId |
interface{} |
Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links. |
PipelineId |
interface{} |
Property pipelineId: The pipeline ID, which can be obtained from the pipeline link. |
Params |
interface{} |
Property params: Pipeline operating parameters. |
Sync |
interface{} |
Property sync: Whether to wait synchronously for the result of the pipeline execution. |
Timeout |
interface{} |
Property timeout: Maximum wait time for pipeline execution in minutes. |
OrganizationId
Required
OrganizationId interface{}
- Type: interface{}
Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.
PipelineId
Required
PipelineId interface{}
- Type: interface{}
Property pipelineId: The pipeline ID, which can be obtained from the pipeline link.
Params
Optional
Params interface{}
- Type: interface{}
Property params: Pipeline operating parameters.
Keys:
- branchModeBranchs: Branch mode runs branches.
- envs: Running variables.
- runningBranchs: Running branches whose key is the warehouse address.
- runningTags: Running tags whose key is the warehouse address.
Sync
Optional
Sync interface{}
- Type: interface{}
Property sync: Whether to wait synchronously for the result of the pipeline execution.
If you select true, the resource will not be created until the pipeline is complete. Default is false. Note: Do not set this option to true when the pipeline has a pause policy configured, as publishing requires manual intervention and synchronization is not appropriate.
Timeout
Optional
Timeout interface{}
- Type: interface{}
Property timeout: Maximum wait time for pipeline execution in minutes.
This parameter need only be configured if Sync is set to true. Default is 10.