Class EphemeralCredentialsHasGlobalVariable
java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
io.jenkins.plugins.ephemeral_credentials.EphemeralCredentialsHasGlobalVariable
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class EphemeralCredentialsHasGlobalVariable
extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
Registers
ephemeralCredentialsHas(id) as a global step (no
@Library import needed) - returns whether a credential is cached
under id for the current run. The pipeline-facing equivalent of
EphemeralCredentialsAccessor.has(java.lang.String).- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariable
ALL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariable
byName, forJob, forRun
-
Constructor Details
-
EphemeralCredentialsHasGlobalVariable
public EphemeralCredentialsHasGlobalVariable()
-
-
Method Details
-
getName
- Specified by:
getNamein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
-
getValue
- Specified by:
getValuein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
-