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

    Constructors
    Constructor
    Description
    CheckGatingStatusExecution(org.jenkinsci.plugins.workflow.steps.StepContext context, JiraCheckGatingStatusStep step)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Boolean
    run()
    This execution returns

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CheckGatingStatusExecution

      public CheckGatingStatusExecution(org.jenkinsci.plugins.workflow.steps.StepContext context, JiraCheckGatingStatusStep step)
  • Method Details

    • run

      protected Boolean run() throws Exception
      This execution returns
      Specified by:
      run in class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<Boolean>
      Returns:
      true, if deployment has been approved false, if gating status is unknown or not approved/rejected yet
      Throws:
      AbortException - if deployment has been rejected, or client has reached limits
      Exception