countJobSteps

On this page
Back to index

Summary

Retrieves number of job steps in hierarchy under the parent one.
For a list of object types in CloudBees CD/RO, refer to Object types in CloudBees CD/RO.
jobStepId
Stringrequired
The primary key for a job step.
filters
Array<Filter>optional
A list of zero or more filter criteria definitions used to define objects to find.
viewName
Stringoptional
The name of the view.

Usage

Groovy

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