Class ChuckNorrisStepExecution

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<String>
hudson.plugins.chucknorris.pipeline.ChuckNorrisStepExecution
All Implemented Interfaces:
Serializable

public class ChuckNorrisStepExecution extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<String>
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    run()
    Attaches Chuck Norris to the run and prints the fact to the build log.

    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

    acceptAll, acceptAll, applyAll, applyAll, getContext, getStatusBounded

    Methods inherited from class Object

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

    • run

      protected String run() throws Exception
      Attaches Chuck Norris to the run and prints the fact to the build log.
      Specified by:
      run in class org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<String>
      Returns:
      the fact, so pipelines can use it, e.g. def fact = chuckNorris()
      Throws:
      Exception