hudson.plugins.testlink.result
Class TAPFileNameResultSeeker
java.lang.Object
hudson.plugins.testlink.result.ResultSeeker
hudson.plugins.testlink.result.TAPFileNameResultSeeker
- All Implemented Interfaces:
- hudson.model.Describable<ResultSeeker>, java.io.Serializable, java.lang.Comparable<ResultSeeker>
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.
- Since:
- 3.1
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
- See Also:
- Serialized Form
Constructor Summary |
TAPFileNameResultSeeker(java.lang.String includePattern,
java.lang.String keyCustomField,
boolean attachTAPStream,
boolean attachYAMLishAttachments,
boolean includeNotes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEXT_PLAIN_CONTENT_TYPE
protected static final java.lang.String TEXT_PLAIN_CONTENT_TYPE
- See Also:
- Constant Field Values
TAPFileNameResultSeeker
@DataBoundConstructor
public TAPFileNameResultSeeker(java.lang.String includePattern,
java.lang.String keyCustomField,
boolean attachTAPStream,
boolean attachYAMLishAttachments,
boolean includeNotes)
- Parameters:
includePattern
- keyCustomField
- attachTAPStream
- attachYAMLishAttachments
-
setAttachTAPStream
public void setAttachTAPStream(boolean attachTAPStream)
isAttachTAPStream
public boolean isAttachTAPStream()
setAttachYAMLishAttachments
public void setAttachYAMLishAttachments(boolean attachYAMLishAttachments)
isAttachYAMLishAttachments
public boolean isAttachYAMLishAttachments()
seek
public void seek(TestCaseWrapper[] automatedTestCases,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
TestLinkSite testlink)
throws ResultSeekerException
- Description copied from class:
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.
- Specified by:
seek
in class ResultSeeker
listener
- Build listener for loggingtestlink
- TestLink site for updating test status
- Throws:
ResultSeekerException
Copyright © 2010-2011 the Jenkins TestLink plug-in team-2012 Jenkins. All Rights Reserved.