diff --git a/pom.xml b/pom.xml index 96a46251..5e6c4760 100644 --- a/pom.xml +++ b/pom.xml @@ -13,16 +13,15 @@ hpi - 2.387.3 + 2.414.3 1.7 2.4.0 4.8.0 179.vc5cb_98f6db_38 20231013 1319.v7eb_51b_3a_c97b_ - 1265.v65b_14fa_f12f0 + 1304.vc85a_b_ca_96613 1.1.1 - 1.20 2.0.1 1.1.0 3.1.0 @@ -35,6 +34,15 @@ 325.vcb_307d2a_2782 3.1.8-133.v17b_1ff2e0599 185.v303dc7c645f9 + 3.8.0 + 1.10.0-78.v3e7b_ea_d5a_fe1 + 865.v43e78cc44e0d + 6.4.2-1 + 5.3.2-3 + 2.0.2 + 3.7.1-1 + 5.4.0-7 + 789.v57a_725b_63c79 UiPath Plugin @@ -300,6 +308,51 @@ caffeine-api ${caffeine-api.version} + + io.jenkins.plugins + plugin-util-api + ${plugin-util-api.version} + + + io.jenkins.plugins + commons-text-api + ${commons-text-api.version} + + + org.jenkins-ci.plugins.workflow + workflow-support + ${workflow-support.version} + + + io.jenkins.plugins + font-awesome-api + ${font-awesome-api.version} + + + io.jenkins.plugins + bootstrap5-api + ${bootstrap5-api.version} + + + io.jenkins.plugins + checks-api + ${checks-api.version} + + + io.jenkins.plugins + jquery3-api + ${jquery3-api.version} + + + io.jenkins.plugins + echarts-api + ${echarts-api.version} + + + org.jenkins-ci.plugins + matrix-project + ${matrix-project.version} + diff --git a/src/main/java/com/uipath/uipathpackage/UiPathTest.java b/src/main/java/com/uipath/uipathpackage/UiPathTest.java index b1bfda45..2a1e971d 100644 --- a/src/main/java/com/uipath/uipathpackage/UiPathTest.java +++ b/src/main/java/com/uipath/uipathpackage/UiPathTest.java @@ -58,7 +58,7 @@ public class UiPathTest extends Recorder implements SimpleBuildStep, JUnitTask { private final TraceLevel traceLevel; private boolean attachRobotLogs; private Boolean disableBuiltInNugetFeeds; - + private static int TimeoutDefault = 7200; /** @@ -91,7 +91,7 @@ public UiPathTest(String orchestratorAddress, String orchestratorTenant, String this.credentials = credentials; this.timeout = timeout; this.testResultsOutputPath = testResultsOutputPath; - this.parametersFilePath = parametersFilePath; + this.parametersFilePath = parametersFilePath; this.disableBuiltInNugetFeeds = null; this.repositoryUrl = null; this.repositoryCommit = null; @@ -181,7 +181,7 @@ public void perform(@Nonnull Run run, @Nonnull FilePath workspace, @NonNul testOptions.setTestReportType("junit"); String resultsOutputPath = testResultsOutputPath != null && !testResultsOutputPath.trim().isEmpty() - ? testResultsOutputPath : "UiPathResults.xml"; + ? testResultsOutputPath : "UiPathResults.xml"; FilePath expandedTestResultsOutputPath = resultsOutputPath.contains("${WORKSPACE}") ? new FilePath(launcher.getChannel(), envVars.expand(resultsOutputPath)) : @@ -208,7 +208,7 @@ public void perform(@Nonnull Run run, @Nonnull FilePath workspace, @NonNul testOptions.setParametersFilePath(parametersPath.getRemote()); } - + testOptions.setAttachRobotLogs(attachRobotLogs); testOptions.setRepositoryUrl(repositoryUrl); @@ -528,6 +528,11 @@ public boolean isKeepProperties() { return false; } + @Override + public boolean isKeepTestNames() { + return false; + } + @Override public boolean isAllowEmptyResults() { return true; @@ -669,7 +674,7 @@ public FormValidation doCheckParametersFilePath(@QueryParameter String value) { return FormValidation.ok(); } - + /** * Validates that the timeout is specified *