Skip to content

Commit

Permalink
Fix Incorrect Jenkins Data Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gmitch215 committed Oct 6, 2024
1 parent ef9b935 commit d70b315
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/io/codemc/api/jenkins/data.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ data class JenkinsBuild(
* @see BuildInfo
*/
constructor(info: BuildInfo) : this(
info.result() ?: "Unknown",
info.number() + 1,
info.result() ?: "UNKNOWN",
info.number(),
info.url(),
info.timestamp()
)
Expand Down

0 comments on commit d70b315

Please sign in to comment.