modifyWaitDependency

Back to index

Summary

Modifies an existing wait dependency.
projectName
Stringrequired
The name for the project that must be unique among all projects.
allowSkip
Booleanoptional
The flag to indicate if a dependency can be skipped at runtime.
assigneesForSkip
Collectionoptional
A list of assignees who can skip a dependency at runtime.
dependentGateType
Stringoptional
The type of dependent gate.
Possible values: "POST", "PRE"
dependentPipelineName
Stringoptional
The name of the dependent pipeline.
dependentProjectName
Stringoptional
The name of the dependent project.
dependentReleaseName
Stringoptional
The name of the dependent release.
dependentStageName
Stringoptional
The name of the dependent stage.
dependentTaskName
Stringoptional
The name of the dependent task.
gateType
Stringoptional
The type of gate.
Possible values: "POST", "PRE"
newName
Stringoptional
The new name for an existing object that is being renamed.
pipelineName
Stringoptional
The name of the pipeline.
releaseName
Stringoptional
The name of the release.
stageName
Stringoptional
The name of the stage.
taskName
Stringoptional
The name of the task.
waitDependencyName
Stringoptional
The name of the wait dependency.
waitForTriggeredPipelines
Booleanoptional
The flag to indicate that dependency should be created on all triggered pipelines.
waitForTriggeredReleases
Booleanoptional
The 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"