Class 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 Detail

      • 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 Detail

      • 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)
      • getCerts

        public Certs getCerts()
      • 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