Class AttachmentPublisher.Data

java.lang.Object
hudson.tasks.junit.TestResultAction.Data
hudson.plugins.junitattachments.AttachmentPublisher.Data
Enclosing class:
AttachmentPublisher

public static class AttachmentPublisher.Data extends hudson.tasks.junit.TestResultAction.Data
  • Constructor Details

    • Data

      @Deprecated public Data(Map<String, Map<String, List<String>>> attachmentsMap, Boolean showAttachmentsAtClassLevel, Boolean showAttachmentsInStdOut, List<String> enclosingBlocks)
      Deprecated.
      use Data(Map, Boolean, Boolean, List, boolean); attachments constructed via this constructor are always resolved from the legacy, filesystem-based storage location.
      Parameters:
      attachmentsMap - { fully-qualified test class name → { test method name → [ attachment file name ] } }
      showAttachmentsAtClassLevel - Whether to display test case attachments at the test class level
      enclosingBlocks - Pipeline enclosing stages/blocks used to namespace storage and filter actions
    • Data

      public Data(Map<String, Map<String, List<String>>> attachmentsMap, Boolean showAttachmentsAtClassLevel, Boolean showAttachmentsInStdOut, List<String> enclosingBlocks, boolean storedViaArtifactManager)
      Parameters:
      attachmentsMap - { fully-qualified test class name → { test method name → [ attachment file name ] } }
      showAttachmentsAtClassLevel - Whether to display test case attachments at the test class level
      enclosingBlocks - Pipeline enclosing stages/blocks used to namespace storage and filter actions
      storedViaArtifactManager - whether the referenced attachments were published through the build's ArtifactManager
  • Method Details

    • isStoredViaArtifactManager

      public boolean isStoredViaArtifactManager()
    • getTestAction

      public List<hudson.tasks.junit.TestAction> getTestAction(hudson.tasks.junit.TestObject t)
      Specified by:
      getTestAction in class hudson.tasks.junit.TestResultAction.Data