Class TPTReportUtils


  • public class TPTReportUtils
    extends Object
    • Constructor Detail

      • TPTReportUtils

        public TPTReportUtils()
    • Method Detail

      • getReportDir

        public static File getReportDir​(File baseDir,
                                        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 File getPikeTecDir​(Run<?,​?> build)
        Parameters:
        build - The jenkins build
        Returns:
        a directory "Piketec-TPT" on the machine that runs Jenkins
      • getImageDir

        public static 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