getFullCredential

On this page
Back to index

Summary

Retrieves a credential by name, including a user name or password, from within a running step.
jobStepId
Stringrequired
The ID of the job step to use.
credentialName
Stringrequired
The name of the credential.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getFullCredential( jobStepId: "test-jobStepId", credentialName: "test-credentialName" )