Package io.jenkins.plugins.levo.helpers
Class LevoDockerTool
- java.lang.Object
-
- io.jenkins.plugins.levo.helpers.LevoDockerTool
-
public class LevoDockerTool extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_TIMEOUTstatic intCMD_TIMEOUTstatic StringENV_FILE_NAMEstatic StringLEVO_CONFIG_FOLDER_NAMEstatic StringLEVO_REPORTS_FOLDER_NAMEstatic intPULL_TIMEOUT
-
Constructor Summary
Constructors Constructor Description LevoDockerTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrunLevoConformanceTest(Run run, Launcher launcher, EnvVars launchEnv, EnvVars buildEnv, String workdir, String target, String schema)static voidrunLevoLogin(Run run, Launcher launcher, EnvVars launchEnv, String workdir, Secret authorizationKey, String organizationId)static voidrunLevoTestPlan(Run run, Launcher launcher, EnvVars launchEnv, EnvVars buildEnv, String workdir, String target, String testPlan, String environment, Boolean generateJUnitReports, String extraCLIArgs)
-
-
-
Field Detail
-
CLIENT_TIMEOUT
public static final int CLIENT_TIMEOUT
- See Also:
- Constant Field Values
-
PULL_TIMEOUT
public static final int PULL_TIMEOUT
- See Also:
- Constant Field Values
-
CMD_TIMEOUT
public static final int CMD_TIMEOUT
- See Also:
- Constant Field Values
-
ENV_FILE_NAME
public static final String ENV_FILE_NAME
- See Also:
- Constant Field Values
-
LEVO_CONFIG_FOLDER_NAME
public static final String LEVO_CONFIG_FOLDER_NAME
- See Also:
- Constant Field Values
-
LEVO_REPORTS_FOLDER_NAME
public static final String LEVO_REPORTS_FOLDER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
runLevoLogin
public static void runLevoLogin(@NonNull Run run, @NonNull Launcher launcher, @NonNull EnvVars launchEnv, String workdir, Secret authorizationKey, String organizationId) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
runLevoConformanceTest
public static void runLevoConformanceTest(@NonNull Run run, @NonNull Launcher launcher, @NonNull EnvVars launchEnv, @Nullable EnvVars buildEnv, String workdir, String target, String schema) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
runLevoTestPlan
public static void runLevoTestPlan(@NonNull Run run, @NonNull Launcher launcher, @NonNull EnvVars launchEnv, @Nullable EnvVars buildEnv, String workdir, String target, String testPlan, @Nullable String environment, Boolean generateJUnitReports, String extraCLIArgs) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
-