Class JenkinsBuildInformation

  • All Implemented Interfaces:
    Serializable

    @ExportedBean
    public class JenkinsBuildInformation
    extends com.saucelabs.ci.BuildInformation
    See Also:
    Serialized Form
    • 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 class com.saucelabs.ci.BuildInformation
      • getStatus

        @Nullable
        @Exported(visibility=2)
        public String getStatus()
        Overrides:
        getStatus in class com.saucelabs.ci.BuildInformation
      • getName

        @Nullable
        @Exported(visibility=2)
        public String getName()
        Overrides:
        getName in class com.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 class com.saucelabs.ci.BuildInformation
      • getEndTime

        @Exported(visibility=2)
        public long getEndTime()
        Overrides:
        getEndTime in class com.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 class com.saucelabs.ci.BuildInformation
      • getJobsPassed

        @Exported(visibility=2)
        public int getJobsPassed()
        Overrides:
        getJobsPassed in class com.saucelabs.ci.BuildInformation
      • getJobsFailed

        @Exported(visibility=2)
        public int getJobsFailed()
        Overrides:
        getJobsFailed in class com.saucelabs.ci.BuildInformation
      • getJobsErrored

        @Exported(visibility=2)
        public int getJobsErrored()
        Overrides:
        getJobsErrored in class com.saucelabs.ci.BuildInformation
      • getJobsPassRate

        @Exported(visibility=2)
        public String getJobsPassRate()
      • getJobsFailRate

        @Exported(visibility=2)
        public String getJobsFailRate()
      • getJobsErrorRate

        @Exported(visibility=2)
        public String getJobsErrorRate()