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
  • 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 option
      attestationOptions - attestation option
      outputOptions - output options
  • Method Details

    • setAttestationOptions

      @DataBoundSetter public void setAttestationOptions(AttestationOptions attestationOptions)
    • setCerts

      @DataBoundSetter public void setCerts(Certs certs)
    • setOutputOptions

      @DataBoundSetter public void setOutputOptions(OutputOptions outputOptions)
    • setPaths

      @DataBoundSetter public void setPaths(Paths paths)
    • getAttestationOptions

      public AttestationOptions getAttestationOptions()
    • getCerts

      public Certs getCerts()
    • getOutputOptions

      public OutputOptions getOutputOptions()
    • getPaths

      public Paths getPaths()
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception