Class TPTReportUtils
- java.lang.Object
-
- com.piketec.jenkins.plugins.tpt.publisher.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
-
-
-
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 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 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
-
-