Class JiraCheckGatingStatusStep.CheckGatingStatusExecution
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<Boolean>
com.atlassian.jira.cloud.jenkins.checkgatingstatus.pipeline.JiraCheckGatingStatusStep.CheckGatingStatusExecution
- All Implemented Interfaces:
Serializable
- Enclosing class:
- JiraCheckGatingStatusStep
public static class JiraCheckGatingStatusStep.CheckGatingStatusExecution
extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<Boolean>
- See Also:
-
Constructor Summary
ConstructorDescriptionCheckGatingStatusExecution
(org.jenkinsci.plugins.workflow.steps.StepContext context, JiraCheckGatingStatusStep step) -
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution
blocksRestart, getStatus, onResume, start, stop
Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution
applyAll, applyAll, getContext, getStatusBounded
-
Constructor Details
-
CheckGatingStatusExecution
public CheckGatingStatusExecution(org.jenkinsci.plugins.workflow.steps.StepContext context, JiraCheckGatingStatusStep step)
-
-
Method Details
-
run
This execution returns- Specified by:
run
in classorg.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<Boolean>
- Returns:
true
, if deployment has been approvedfalse
, if gating status is unknown or not approved/rejected yet- Throws:
AbortException
- if deployment has been rejected, or client has reached limitsException
-