All Classes and Interfaces
Classes
Class
Description
Certificate (PKCS#12 keystore + password).
Registers
ephemeralCertificate(id: ..., description: ...).A convenient, pipeline-facing handle onto
EphemeralCredentialsProvider's
store, permanently scoped to a single build - every operation is
constrained to whichever run this accessor was created for, the same way
withEphemeralCredentials itself only ever touches its own run's
cache.Registers
ephemeralCredentials as a global variable (no
@Library import needed), resolving to an EphemeralCredentialsAccessor bound to the current run - lets a pipeline
write ephemeralCredentials['FOO'] = someCredentials /
ephemeralCredentials['FOO'] /
ephemeralCredentials.containsKey('FOO') /
ephemeralCredentials.remove('FOO') directly.Registers
ephemeralCredentialsFind(id) as a global step (no
@Library import needed) - returns the Credentials cached
under id for the current run, or null if nothing is
cached under that ID.Registers
ephemeralCredentialsForget(id) as a global step (no
@Library import needed) - drops the credential cached under
id for the current run, if any, and returns whether one was
actually present.Registers
ephemeralCredentialsHas(id) as a global step (no
@Library import needed) - returns whether a credential is cached
under id for the current run.Describes one credential a
withEphemeralCredentials block may need
to resolve interactively: which input parameters to ask the user
for, and how to turn the collected answers into a concrete
Credentials object.A
CredentialsProvider that only ever answers with ephemeral
credentials that some currently executing Pipeline build itself put into
it.Registers
ephemeralCredentialsPut(...) as a global step (no
@Library import needed), caching a credential into EphemeralCredentialsProvider for the current run directly - the
pipeline-facing equivalent of EphemeralCredentialsAccessor.put(java.lang.String, com.cloudbees.plugins.credentials.Credentials).Authoritative cleanup backstop for
EphemeralCredentialsProvider:
onFinalized fires for every way a build can end -- success,
failure, or a hard kill/abort -- independently of whether the Pipeline
script itself got to run its own finally block.
onDeleted covers a build record being removed later.
Either way, nothing this plugin has cached for that build should outlive it.Secret file.
Registers
ephemeralSecretFile(id: ..., description: ..., fileName: ...)
- fileName is optional and defaults to id.Represents ephemeral secret text credential.
Registers
ephemeralSecretText(id: ..., description: ...) as a
global factory function - see EphemeralUsernamePasswordGlobalVariable
for the general shape and why a precompiled Closure is fine here.SSH Username with private key.
Registers
ephemeralSSHUserPrivateKey(id: ..., description: ...) -
see EphemeralUsernamePasswordGlobalVariable for the general shape.Two strings: a username and a password.
Registers
ephemeralUsernamePassword(id: ..., description: ...) as
a global factory function, usable inside a withEphemeralCredentials
spec list - the same DSL ergonomics as usernamePassword(...) inside
withCredentials, just producing an EphemeralUsernamePassword
instead of binding env vars directly.Registers
withEphemeralCredentials as a global pipeline step,
available in any Pipeline job once this plugin is installed - no
@Library import needed, same as lock or input.