Package hudson.plugins.junitattachments
Class AttachmentPublisher
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tasks.junit.TestDataPublisher>
hudson.tasks.junit.TestDataPublisher
hudson.plugins.junitattachments.AttachmentPublisher
- All Implemented Interfaces:
ExtensionPoint,Describable<hudson.tasks.junit.TestDataPublisher>
public class AttachmentPublisher
extends hudson.tasks.junit.TestDataPublisher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontributeTestData(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult) static FilePathgetAttachmentPath(FilePath root, String className, String testName) static FilePathgetAttachmentPath(Run<?, ?> build) booleanbooleanvoidsetShowAttachmentsAtClassLevel(Boolean showAttachmentsAtClassLevel) voidsetShowAttachmentsInStdOut(Boolean showAttachmentsInStdOut) Methods inherited from class hudson.tasks.junit.TestDataPublisher
all, getTestDataMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
AttachmentPublisher
@DataBoundConstructor public AttachmentPublisher()
-
-
Method Details
-
isShowAttachmentsAtClassLevel
public boolean isShowAttachmentsAtClassLevel() -
isShowAttachmentsInStdOut
public boolean isShowAttachmentsInStdOut() -
setShowAttachmentsAtClassLevel
-
setShowAttachmentsInStdOut
-
getAttachmentPath
-
getAttachmentPath
-
contributeTestData
public AttachmentPublisher.Data contributeTestData(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult) throws IOException, InterruptedException- Overrides:
contributeTestDatain classhudson.tasks.junit.TestDataPublisher- Throws:
IOExceptionInterruptedException
-