public class JUnitSuiteNameResultSeeker extends AbstractJUnitResultSeeker
Seeks for test results matching each JUnit Suite Result name with the key custom field.
Skips JUnit Suite Results that were disabled.
Modifier and Type | Class and Description |
---|---|
static class |
JUnitSuiteNameResultSeeker.DescriptorImpl |
includeNotes, includePattern, keyCustomField
Constructor and Description |
---|
JUnitSuiteNameResultSeeker(String includePattern,
String keyCustomField,
boolean attachJUnitXML,
boolean includeNotes) |
Modifier and Type | Method and Description |
---|---|
void |
seek(TestCaseWrapper[] automatedTestCases,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
TestLinkSite testlink)
Seeks for Test Results in a directory.
|
handleResult, isAttachJUnitXML, setAttachJUnitXML
all, allExcept, compareTo, getBase64FileContent, getDescriptor, getIncludePattern, getKeyCustomField, getKeyCustomField, isIncludeNotes, scan
@DataBoundConstructor public JUnitSuiteNameResultSeeker(String includePattern, String keyCustomField, boolean attachJUnitXML, boolean includeNotes)
includePattern
- Include pattern used when looking for resultskeyCustomField
- Key custom field to match against the resultspublic void seek(TestCaseWrapper[] automatedTestCases, hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, TestLinkSite testlink) throws ResultSeekerException
ResultSeeker
Seeks for Test Results in a directory. It tries to match the includePattern with files in this directory.
It looks for results using the include pattern, but this value is matched within the workspace. It means that your result files have to be relative to your workspace.
For each result found, it is automatically updated in TestLink, and the Report is updated.
seek
in class ResultSeeker
automatedTestCases
- Automated test caseslistener
- Build listener for loggingtestlink
- TestLink site for updating test statusResultSeekerException
Copyright © 2010–2019 Jenkins. All rights reserved.