Back to index
Summary
Retrieves a list of job steps from a single job or from a single subprocedure job step. This command is used by the Job Details web page in the CloudBees CD UI. The elements in the list are returned in their natural job order.For a list of object types in CloudBees CD/RO, refer to Object types in CloudBees CD/RO. |
filtersArray<Filter>optionalA list of zero or more filter criteria definitions used to define objects to find. firstResultIntegeroptionalThe first result to be retrieved, numbered from 0. jobIdStringoptionalThe primary key of the job, or the name of the job. jobStepIdStringoptionalThe primary key for a job step. maxIdsIntegeroptionalThe maximum number of object IDs to return. numObjectsIntegeroptionalThe number of objects to return as the first page of results. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.findJobSteps( /* optional arguments */ )