Class TPTReportUtils
- java.lang.Object
-
- com.piketec.jenkins.plugins.tpt.publisher.TPTReportUtils
-
public class TPTReportUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description TPTReportUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
getImageDir(Run<?,?> build)
Get the image diretory.static File
getPikeTecDir(Run<?,?> build)
static File
getReportDir(File baseDir, String id)
Get the report directory
-
-
-
Method Detail
-
getReportDir
public static File getReportDir(File baseDir, String id)
Get the report directory- Parameters:
baseDir
- The base directoryid
- 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
-
-