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()voidsetAttestationOptions(AttestationOptions attestationOptions) voidvoidsetOutputOptions(OutputOptions outputOptions) voidorg.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
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:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-