Back to index
Summary
Retrieves all triggers.projectNameStringrequiredThe name for the project that must be unique among all projects. releaseNameStringoptionalThe name of the release to run. applicationNameStringoptionalThe name of the application that owns the trigger and the process that should be run. pipelineNameStringoptionalThe name of the pipeline to run. procedureNameStringoptionalThe name of the procedure that owns the process to run. scmSyncNameStringoptionalThe name of the scmSync trigger belong to. validateBooleanoptionalIf 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 */ )