getTriggers

Back to index

Summary

Retrieves all triggers.
projectName
Stringrequired
The name for the project that must be unique among all projects.
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.
validate
Booleanoptional
If passed 1, then all validations check if the definition is complete and valid.

Usage

Perl

$cmdr->getTriggers( "test-projectName" # projectName # optionals );

ectool

ectool getTriggers \ "test-projectName" `# projectName` \ # optionals

Examples

Perl

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