Skip to content

PipelineRunProps

Properties for defining a PipelineRun.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-devops-pipelinerun

Initializer

using AlibabaCloud.SDK.ROS.CDK.Devops;
new PipelineRunProps {
    object OrganizationId,
    object PipelineId,
    object Params = null,
    object Sync = null,
    object Timeout = null
};

Properties

Name Type Description
OrganizationId object Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.
PipelineId object Property pipelineId: The pipeline ID, which can be obtained from the pipeline link.
Params object Property params: Pipeline operating parameters.
Sync object Property sync: Whether to wait synchronously for the result of the pipeline execution.
Timeout object Property timeout: Maximum wait time for pipeline execution in minutes.

OrganizationIdRequired

public object OrganizationId { get; set; }
  • Type: object

Property organizationId: Corporate identity, also known as enterprise id, can obtain in cloud effect access links.


PipelineIdRequired

public object PipelineId { get; set; }
  • Type: object

Property pipelineId: The pipeline ID, which can be obtained from the pipeline link.


ParamsOptional

public object Params { get; set; }
  • Type: object

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.

SyncOptional

public object Sync { get; set; }
  • Type: object

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.


TimeoutOptional

public object Timeout { get; set; }
  • Type: object

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.