Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-27395] Add a junitResults step
This uses the run's externalizable ID and the step's FlowNode.getId() together as a unique key to track which SuiteResults are associated with a particular execution, and allows getting a TestResult object from a run ID and 1 or more node IDs passed to an existing TestResult object that contains suites for that run/those nodes. Note that JUnitResultArchiverTest.zip has been moved around and renamed due to jenkinsci/jenkins-test-harness@79d9603 breaking tests otherwise, since the JUnitResultArchiveTest/ directory will end up getting picked up as JENKINS_HOME otherwise.
- Loading branch information
Showing
16 changed files
with
583 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package hudson.tasks.junit; | ||
|
||
import java.util.List; | ||
|
||
public interface JUnitTask { | ||
String getTestResults(); | ||
|
||
double getHealthScaleFactor(); | ||
|
||
List<TestDataPublisher> getTestDataPublishers(); | ||
|
||
boolean isKeepLongStdio(); | ||
|
||
boolean isAllowEmptyResults(); | ||
} |
Oops, something went wrong.