Package io.jenkins.plugins.signpath
Class SubmitSigningRequestStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.signpath.SignPathStepBase
io.jenkins.plugins.signpath.SubmitSigningRequestStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
Represents the submitSigningRequestStep step that is executable via pipeline-script
Encapsulates both the sync and async version of the step
-> thus the waitForCompletion param is used to toggle between the two modes
For a how-to use example see *EndToEnd tests
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetArtifactConfigurationSlug(String artifactConfigurationSlug) voidsetDescription(String description) voidsetInputArtifactPath(String inputArtifactPath) voidsetOrganizationId(String organizationId) voidsetOutputArtifactPath(String outputArtifactPath) voidsetParameters(Map<String, String> parameters) voidsetProjectSlug(String projectSlug) voidsetSigningPolicySlug(String signingPolicySlug) voidsetWaitForCompletion(boolean waitForCompletion) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class io.jenkins.plugins.signpath.SignPathStepBase
ensureNotNull, ensureValidURL, ensureValidUUID, getAndValidateApiConfiguration, getApiTokenCredentialId, getApiUrl, getApiUrlWithGlobal, getServiceUnavailableTimeoutInSeconds, getSignPathConfig, getTrustedBuildSystemTokenCredentialId, getTrustedBuildSystemTokenCredentialIdWithGlobal, getUploadAndDownloadRequestTimeoutInSeconds, getWaitBetweenReadinessChecksInSeconds, getWaitForCompletionTimeoutInSeconds, getWaitForPowerShellTimeoutInSeconds, getWithGlobalConfig, logStepParameterDeprecationWarning, setApiTokenCredentialId, setApiUrl, setServiceUnavailableTimeoutInSeconds, setTrustedBuildSystemTokenCredentialId, setUploadAndDownloadRequestTimeoutInSeconds, setWaitForCompletionTimeoutInSeconds, setWaitForPowerShellTimeoutInSeconds
-
Constructor Details
-
SubmitSigningRequestStep
@DataBoundConstructor public SubmitSigningRequestStep()
-
-
Method Details
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws IOException, InterruptedException, SignPathStepInvalidArgumentException - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
IOExceptionInterruptedExceptionSignPathStepInvalidArgumentException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<org.jenkinsci.plugins.workflow.steps.Step>- Overrides:
getDescriptorin classorg.jenkinsci.plugins.workflow.steps.Step
-
getOrganizationId
-
getOrganizationIdWithGlobal
-
getProjectSlug
-
getArtifactConfigurationSlug
-
getSigningPolicySlug
-
getInputArtifactPath
-
getDescription
-
getWaitForCompletion
public boolean getWaitForCompletion() -
getOutputArtifactPath
-
getParameters
-
setOrganizationId
-
setProjectSlug
-
setArtifactConfigurationSlug
-
setSigningPolicySlug
-
setInputArtifactPath
-
setDescription
-
setWaitForCompletion
@DataBoundSetter public void setWaitForCompletion(boolean waitForCompletion) -
setOutputArtifactPath
-
setParameters
-