From e1093d4592ab5baeb613eceea4ff5ea1ae5b63f6 Mon Sep 17 00:00:00 2001 From: adnan1605 Date: Wed, 28 Dec 2022 21:16:14 +0530 Subject: [PATCH] QueueId missing is fixed #496 --- jenkins-client/pom.xml | 5 +++++ .../src/main/java/com/offbytwo/jenkins/model/Build.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jenkins-client/pom.xml b/jenkins-client/pom.xml index 2cbc3df9..8e9ec034 100644 --- a/jenkins-client/pom.xml +++ b/jenkins-client/pom.xml @@ -113,6 +113,11 @@ xerces xmlParserAPIs + + jakarta.xml.bind + jakarta.xml.bind-api + 2.3.3 + diff --git a/jenkins-client/src/main/java/com/offbytwo/jenkins/model/Build.java b/jenkins-client/src/main/java/com/offbytwo/jenkins/model/Build.java index 470707d9..948fa574 100644 --- a/jenkins-client/src/main/java/com/offbytwo/jenkins/model/Build.java +++ b/jenkins-client/src/main/java/com/offbytwo/jenkins/model/Build.java @@ -63,7 +63,7 @@ public Build() { } public Build(Build from) { - this(from.getNumber(), from.getUrl()); + this(from.getNumber(), from.getQueueId(), from.getUrl()); } public Build(int number, String url) {