Class HcStep.Execution

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<String>
io.jenkins.plugins.har.cli.HcStep.Execution
All Implemented Interfaces:
Serializable
Enclosing class:
HcStep

public static class HcStep.Execution extends org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution<String>
See Also:
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Execution(String[] args, org.jenkinsci.plugins.workflow.steps.StepContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    PAT format: pat.<AccountID>.<random>.<random> Returns the AccountID segment, or an empty string if the token is malformed.
    static String
    getHcCliPath(EnvVars env, boolean isWindows)
    Resolves the full path to the hc binary.
    static void
    performLogout(Launcher launcher, FilePath workspace, EnvVars env, String hcBinaryPath, boolean isWindows, TaskListener listener)
    Runs hc auth logout to clean up credentials from disk at build end.
    protected String
    run()
     

    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 java.lang.Object

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

    • Execution

      protected Execution(String[] args, @NonNull org.jenkinsci.plugins.workflow.steps.StepContext context)
  • Method Details