findJobSteps

On this page
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.
filters
Array<Filter>optional
A list of zero or more filter criteria definitions used to define objects to find.
firstResult
Integeroptional
The first result to be retrieved, numbered from 0.
jobId
Stringoptional
The primary key of the job, or the name of the job.
jobStepId
Stringoptional
The primary key for a job step.
maxIds
Integeroptional
The maximum number of object IDs to return.
numObjects
Integeroptional
The number of objects to return as the first page of results.
selects
Array<Select>optional
Custom properties to project into the query 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 */ )