Class EphemeralSSHUserPrivateKeyGlobalVariable
java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
io.jenkins.plugins.ephemeral_credentials.EphemeralSSHUserPrivateKeyGlobalVariable
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class EphemeralSSHUserPrivateKeyGlobalVariable
extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
Registers
ephemeralSSHUserPrivateKey(id: ..., description: ...) -
see EphemeralUsernamePasswordGlobalVariable for the general shape.
If the optional "SSH Credentials" plugin isn't installed,
EphemeralSSHUserPrivateKey's constructor throws a clear
IllegalStateException that surfaces as a normal pipeline failure -
no try/catch needed here.- 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
-
EphemeralSSHUserPrivateKeyGlobalVariable
public EphemeralSSHUserPrivateKeyGlobalVariable()
-
-
Method Details
-
getName
- Specified by:
getNamein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
-
getValue
- Specified by:
getValuein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
-