Class SaltAtCommitStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.xygeni.saltbuildstep.SaltAtCommitStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class SaltAtCommitStep
extends org.jenkinsci.plugins.workflow.steps.Step
Salt Attestation Commit Command Builder Class.
- Author:
- Victor de la Rosa
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorsConstructorDescriptionSaltAtCommitStep
(Certs certs, AttestationOptions attestationOptions, OutputOptions outputOptions, Paths paths) Instance a Salt Attestation Commit command. -
Method Summary
Modifier and TypeMethodDescriptiongetCerts()
getPaths()
void
setAttestationOptions
(AttestationOptions attestationOptions) void
void
setOutputOptions
(OutputOptions outputOptions) void
org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Constructor Details
-
SaltAtCommitStep
@DataBoundConstructor public SaltAtCommitStep(Certs certs, AttestationOptions attestationOptions, OutputOptions outputOptions, Paths paths) Instance a Salt Attestation Commit command. Required args will not be checked here, it should be reported by salt command. If not options are informed, a default configuration is provided.- Parameters:
certs
- certificates optionattestationOptions
- attestation optionoutputOptions
- output options
-
-
Method Details
-
setAttestationOptions
-
setCerts
-
setOutputOptions
-
setPaths
-
getAttestationOptions
-
getCerts
-
getOutputOptions
-
getPaths
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-