Class ConstraintReport
java.lang.Object
hudson.plugins.performance.reports.ConstraintReport
Creates a report of the constraint evaluation and stores it into a consecutive log file, a build
environment variable and prints it to the Jenkins console output.
- Author:
- Rene Kugel
-
Constructor Summary
ConstructorDescriptionConstraintReport
(ArrayList<ConstraintEvaluation> ceList, Run<?, ?> globBuild, boolean persistConstraintLog) -
Method Summary
Modifier and TypeMethodDescriptionshort
short
int
short
short
short
short
short
short
void
setPerformanceLog
(File performanceLog) void
Writes the complete report to the environment variable: BUILD_CONSTRAINT_LOGvoid
Creates the log file if not present and writes the report to the log file.
-
Constructor Details
-
ConstraintReport
public ConstraintReport(ArrayList<ConstraintEvaluation> ceList, Run<?, ?> globBuild, boolean persistConstraintLog) throws IOException- Throws:
IOException
-
-
Method Details
-
writeResultsToFile
Creates the log file if not present and writes the report to the log file. Only executed if persistConstraintLog == true- Throws:
IOException
-
writeResultsToEnvVar
public void writeResultsToEnvVar()Writes the complete report to the environment variable: BUILD_CONSTRAINT_LOG -
getBuildNumber
public int getBuildNumber() -
getBuildDate
-
getBuildResult
-
getLinkToBuild
-
getAllConstraints
public short getAllConstraints() -
getRelativeConstraints
public short getRelativeConstraints() -
getAbsoluteConstraints
public short getAbsoluteConstraints() -
getSuccessfulConstraints
public short getSuccessfulConstraints() -
getViolatedConstraints
public short getViolatedConstraints() -
getViolatedInformation
public short getViolatedInformation() -
getViolatedUnstable
public short getViolatedUnstable() -
getViolatedError
public short getViolatedError() -
getLoggerMsg
-
getLoggerMsgAdv
-
getJunitReport
-
getPerformanceLog
-
setPerformanceLog
-