Class TPTReportUtils


  • public class TPTReportUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TPTReportUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.File getImageDir​(Run<?,​?> build)
      Get the image diretory.
      static java.io.File getPikeTecDir​(Run<?,​?> build)  
      static java.io.File getReportDir​(java.io.File baseDir, java.lang.String id)
      Get the report directory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TPTReportUtils

        public TPTReportUtils()
    • Method Detail

      • getReportDir

        public static java.io.File getReportDir​(java.io.File baseDir,
                                                java.lang.String id)
        Get the report directory
        Parameters:
        baseDir - The base directory
        id - The unique ID of the configuration to create unique paths
        Returns:
        the directory where the report is saved on the machine that runs Jenkins
      • getPikeTecDir

        public static java.io.File getPikeTecDir​(Run<?,​?> build)
        Parameters:
        build - The jenkins build
        Returns:
        a directory "Piketec-TPT" on the machine that runs Jenkins
      • getImageDir

        public static java.io.File getImageDir​(Run<?,​?> build)
        Get the image diretory.
        Parameters:
        build - The jenkins build
        Returns:
        a directory "Piketec-TPT/Images" on the machine that runs Jenkins