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 classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setArtifactConfigurationSlug
(String artifactConfigurationSlug) void
setDescription
(String description) void
setInputArtifactPath
(String inputArtifactPath) void
setOrganizationId
(String organizationId) void
setOutputArtifactPath
(String outputArtifactPath) void
setParameters
(Map<String, String> parameters) void
setProjectSlug
(String projectSlug) void
setSigningPolicySlug
(String signingPolicySlug) void
setWaitForCompletion
(boolean waitForCompletion) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class io.jenkins.plugins.signpath.SignPathStepBase
ensureNotNull, ensureValidURL, ensureValidUUID, getAndValidateApiConfiguration, getApiTokenCredentialId, getApiUrl, getServiceUnavailableTimeoutInSeconds, getTrustedBuildSystemTokenCredentialId, getUploadAndDownloadRequestTimeoutInSeconds, getWaitBetweenReadinessChecksInSeconds, getWaitForCompletionTimeoutInSeconds, getWaitForPowerShellTimeoutInSeconds, 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:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
IOException
InterruptedException
SignPathStepInvalidArgumentException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<org.jenkinsci.plugins.workflow.steps.Step>
- Overrides:
getDescriptor
in classorg.jenkinsci.plugins.workflow.steps.Step
-
getOrganizationId
-
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
-