public class TAPFileNameResultSeeker extends ResultSeeker
Seeks for test results matching each TAP file name with the key custom field.
Skips TAP Streams that were skipped.
Modifier and Type | Class and Description |
---|---|
static class |
TAPFileNameResultSeeker.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
protected static String |
TEXT_PLAIN_CONTENT_TYPE |
includeNotes, includePattern, keyCustomField
Constructor and Description |
---|
TAPFileNameResultSeeker(String includePattern,
String keyCustomField,
boolean attachTAPStream,
boolean attachYAMLishAttachments,
boolean includeNotes) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAttachTAPStream() |
boolean |
isAttachYAMLishAttachments() |
void |
seek(TestCaseWrapper[] automatedTestCases,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
TestLinkSite testlink)
Seeks for Test Results in a directory.
|
void |
setAttachTAPStream(boolean attachTAPStream) |
void |
setAttachYAMLishAttachments(boolean attachYAMLishAttachments) |
all, allExcept, compareTo, getBase64FileContent, getDescriptor, getIncludePattern, getKeyCustomField, getKeyCustomField, isIncludeNotes, scan
protected static final String TEXT_PLAIN_CONTENT_TYPE
public void setAttachTAPStream(boolean attachTAPStream)
public boolean isAttachTAPStream()
public void setAttachYAMLishAttachments(boolean attachYAMLishAttachments)
public boolean isAttachYAMLishAttachments()
public 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
listener
- Build listener for loggingtestlink
- TestLink site for updating test statusResultSeekerException
Copyright © 2010-2013 Jenkins. All Rights Reserved.