deleteTrigger

Back to index

Summary

Deletes a trigger.
projectName
Stringrequired
The name for the project that must be unique among all projects.
triggerName
Stringrequired
The name of the trigger.
applicationName
Stringoptional
The name of the application that owns the trigger and the process that should be run.
pipelineName
Stringoptional
The name of the pipeline to run.
procedureName
Stringoptional
The name of the procedure that owns the process to run.
releaseName
Stringoptional
The name of the release to run.
scmSyncName
Stringoptional
The name of the scmSync trigger belong to.

Usage

Perl

$cmdr->deleteTrigger( "test-projectName", # projectName "test-triggerName" # triggerName # optionals );

ectool

ectool deleteTrigger \ "test-projectName" `# projectName` \ "test-triggerName" `# triggerName` \ # optionals

Examples

Perl

# for pipeline $cmdr->deleteTrigger("qe proj", "qe trigger 1", {pipelineName => "qe pipeline name"}); # for procedure $cmdr->deleteTrigger("qe proj", "qe trigger 1", {procedureName => "qe procedure"});

ectool

# for pipeline ectool deleteTrigger 'qe proj' 'qe trigger 1' --pipelineName 'qe pipeline' # for procedure ectool deleteTrigger 'qe proj' 'qe trigger 1' --procedureName 'qe procedure'