getTriggers

On this page
Back to index

Summary

Retrieves all triggers.
projectName
Stringrequired
The name for the project that must be unique among all projects.
releaseName
Stringoptional
The name of the release to run.
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.
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

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getTriggers( projectName: "test-projectName" /* optional arguments */ )