Back to index
Summary
Modifies an existing wait dependency.projectNameStringrequiredThe name for the project that must be unique among all projects. allowSkipBooleanoptionalThe flag to indicate if a dependency can be skipped at runtime. assigneesForSkipArrayoptionalA list of assignees who can skip a dependency at runtime. dependentGateTypeStringoptionalThe type of dependent gate. Possible values: "POST" , "PRE" dependentPipelineNameStringoptionalThe name of the dependent pipeline. dependentProjectNameStringoptionalThe name of the dependent project. dependentReleaseNameStringoptionalThe name of the dependent release. dependentStageNameStringoptionalThe name of the dependent stage. dependentTaskNameStringoptionalThe name of the dependent task. gateTypeStringoptionalThe type of gate. Possible values: "POST" , "PRE" newNameStringoptionalThe new name for an existing object that is being renamed. pipelineNameStringoptionalThe name of the pipeline. releaseNameStringoptionalThe name of the release. stageNameStringoptionalThe name of the stage. taskNameStringoptionalThe name of the task. waitDependencyNameStringoptionalThe name of the wait dependency. waitForTriggeredPipelinesBooleanoptionalThe flag to indicate that dependency should be created on all triggered pipelines. waitForTriggeredReleasesBooleanoptionalThe flag to indicate that dependency should be created on all triggered releases. |
Usage
Perl
$cmdr->modifyWaitDependency( "test-projectName" # projectName # optionals );
ectool
ectool modifyWaitDependency \ "test-projectName" `# projectName` \ # optionals
Examples
Perl
For triggered pipelines:
$cmdr->modifyWaitDependency(Default, {pipelineName => "Pipeline A", stageName => "DEV", taskName => "Task 1", waitForTriggeredPipelines => 1 newname => "WaitDependency 1" });
For dependent pipelines:
$cmdr->modifyWaitDependency(Default, {pipelineName => "Pipeline A", stageName => "DEV", taskName => "Task 1", dependentPipelineName => "Pipeline B" dependentStageName => "QA", newname => "WaitDependency 1" });
ectool
For triggered pipelines:
ectool modifyWaitDependency Default --pipelineName "Pipeline A" --stageName "DEV" --taskName "Task 1" --waitForTriggeredPipelines 1 --newname "WaitDependency 1"
For dependent pipelines:
ectool ModifyWaitDependency Default --pipelineName "Pipeline A" --stageName "DEV" --taskName "Task 1" --dependentPipelineName "Pipeline B" --dependentStageName "QA" --newname "WaitDependency 1"