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) {