getCIJobs

On this page
Back to index

Summary

Retrieves CI jobs for the specified CI configuration.
ciConfigurationName
Stringrequired
The CI configuration name.
ciControllerDomain
Stringoptional
The domain name of the CI controller.
ciEndpoint
Stringoptional
Endpoint of the CI Controller.
folder
Stringoptional
The path to the folder on the CI server referenced by the CI configuration that contains the CI jobs. The folder path must be in format of: folder1/folder2/folder3/...
jobSearchType
Stringoptional
Specify job search type: FOLDER to return all folders and ciControllers, JOB (default) to return all other job types, or ALL to return both jobs and folders.
Possible values: "ALL", "FOLDER", "JOB"

Usage

Groovy

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