Class TPTReportUtils
java.lang.Object
com.piketec.jenkins.plugins.tpt.publisher.TPTReportUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic File
getImageDir
(Run<?, ?> build) Get the image diretory.static File
getPikeTecDir
(Run<?, ?> build) static File
getReportDir
(File baseDir, String id) Get the report directory
-
Constructor Details
-
TPTReportUtils
public TPTReportUtils()
-
-
Method Details
-
getReportDir
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
- Parameters:
build
- The jenkins build- Returns:
- a directory "Piketec-TPT" on the machine that runs Jenkins
-
getImageDir
Get the image diretory.- Parameters:
build
- The jenkins build- Returns:
- a directory "Piketec-TPT/Images" on the machine that runs Jenkins
-