getCIJobParameters

On this page
Back to index

Summary

Retrieves parameters for the given CI job.
ciJobName
Stringrequired
Name of the CI job.
ciConfigurationName
Stringrequired
The CI configuration name.
ciControllerDomain
Stringoptional
The domain name of the CI controller.
ciEndpoint
Stringoptional
Endpoint of the CI Controller.
ciJobBranchName
Stringoptional
Name of the CI Job Branch.
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/...

Usage

Groovy

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