Package hudson.plugins.sauce_ondemand
Class JenkinsBuildInformation
- java.lang.Object
-
- com.saucelabs.ci.BuildInformation
-
- hudson.plugins.sauce_ondemand.JenkinsBuildInformation
-
- All Implemented Interfaces:
Serializable
@ExportedBean public class JenkinsBuildInformation extends com.saucelabs.ci.BuildInformation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JenkinsBuildInformation(com.saucelabs.saucerest.model.builds.Build build)
JenkinsBuildInformation(String buildId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildId()
long
getDuration()
String
getEfficiency(long maxJobDuration, long totalJobDuration)
long
getEndTime()
int
getJobsErrored()
String
getJobsErrorRate()
int
getJobsFailed()
String
getJobsFailRate()
int
getJobsFinished()
int
getJobsPassed()
String
getJobsPassRate()
String
getName()
String
getPrettyDuration()
String
getStartDate()
long
getStartTime()
String
getStatus()
-
-
-
Constructor Detail
-
JenkinsBuildInformation
public JenkinsBuildInformation(String buildId)
-
JenkinsBuildInformation
public JenkinsBuildInformation(com.saucelabs.saucerest.model.builds.Build build)
-
-
Method Detail
-
getBuildId
@Exported(visibility=2) public String getBuildId()
- Overrides:
getBuildId
in classcom.saucelabs.ci.BuildInformation
-
getStatus
@Nullable @Exported(visibility=2) public String getStatus()
- Overrides:
getStatus
in classcom.saucelabs.ci.BuildInformation
-
getName
@Nullable @Exported(visibility=2) public String getName()
- Overrides:
getName
in classcom.saucelabs.ci.BuildInformation
-
getStartDate
@Exported(visibility=2) public String getStartDate()
-
getDuration
@Exported(visibility=2) public long getDuration()
-
getStartTime
@Exported(visibility=2) public long getStartTime()
- Overrides:
getStartTime
in classcom.saucelabs.ci.BuildInformation
-
getEndTime
@Exported(visibility=2) public long getEndTime()
- Overrides:
getEndTime
in classcom.saucelabs.ci.BuildInformation
-
getPrettyDuration
@Exported(visibility=2) public String getPrettyDuration()
-
getEfficiency
@Exported(visibility=2) public String getEfficiency(long maxJobDuration, long totalJobDuration)
-
getJobsFinished
@Exported(visibility=2) public int getJobsFinished()
- Overrides:
getJobsFinished
in classcom.saucelabs.ci.BuildInformation
-
getJobsPassed
@Exported(visibility=2) public int getJobsPassed()
- Overrides:
getJobsPassed
in classcom.saucelabs.ci.BuildInformation
-
getJobsFailed
@Exported(visibility=2) public int getJobsFailed()
- Overrides:
getJobsFailed
in classcom.saucelabs.ci.BuildInformation
-
getJobsErrored
@Exported(visibility=2) public int getJobsErrored()
- Overrides:
getJobsErrored
in classcom.saucelabs.ci.BuildInformation
-
getJobsPassRate
@Exported(visibility=2) public String getJobsPassRate()
-
getJobsFailRate
@Exported(visibility=2) public String getJobsFailRate()
-
getJobsErrorRate
@Exported(visibility=2) public String getJobsErrorRate()
-
-