getTrigger

Back to index

Summary

Retrieves a trigger by name.
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->getTrigger( "test-projectName", # projectName "test-triggerName" # triggerName # optionals );

ectool

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

Examples

Perl

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

ectool

ectool getTrigger 'qe proj' 'qe trigger 1' --procedureName 'qe procedure'