Class AnsiColorStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class AnsiColorStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Custom pipeline step that can be used without a node and build wrapper.
    • Constructor Detail

      • AnsiColorStep

        @DataBoundConstructor
        public AnsiColorStep​(String colorMapName)
        Create a new AnsiColorStep.
    • Method Detail

      • getColorMapName

        public String getColorMapName()
      • start

        public org.jenkinsci.plugins.workflow.steps.StepExecution start​(org.jenkinsci.plugins.workflow.steps.StepContext context)
                                                                 throws Exception
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.Step
        Throws:
        Exception