JenkinsBuild

data class JenkinsBuild(val result: String, val number: Int, val url: String?, val timestamp: Long)

Represents a Jenkins build.

Constructors

Link copied to clipboard
constructor(info: BuildInfo)

Creates a Jenkins build from a BuildInfo object.

constructor(result: String, number: Int, url: String?, timestamp: Long)

Properties

Link copied to clipboard
val number: Int

The number of the build.

Link copied to clipboard

The result of the build.

Link copied to clipboard

The timestamp of the build.

Link copied to clipboard
val url: String?

The URL of the build.

Functions

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the build in Discord Message format.