cdancy / jenkins-rest

Java client, built on top of jclouds, for working with Jenkins REST API
Apache License 2.0
387 stars 173 forks source link

Issue-315: Processing Queue ID as a long value #353

Closed amehra closed 2 months ago

amehra commented 3 months ago

Queue ID retured from Jenkins can be a Long value. This is due to a recent update which resulted in the queue IDs returning a random long values instead of sequential integers. The jenkins-rest API expects this to be an Integer value. As a result, calls to jobsApi().buildWithParameters and then attempting to retrieve the queue ID will fail/return null.

This PR fixes the JobsApi and QueueApi to deal with the new long values.

Please refer to issue 315

closes #315

cdancy commented 3 months ago

hey @amehra thanks for the PR! I'll look over this today and get back to you

amehra commented 2 months ago

hey @amehra thanks for the PR! I'll look over this today and get back to you

Hi @cdancy and @martinda. Any luck with the PR review. Please let me know if I can help in any way.

amehra commented 2 months ago

@cdancy thanks for merging the PR. What is the most effective way to release these changes so that I can incorporate them into my project?