最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

cloudbees - API changes after Jenkins Core Version 2.462.2.2 upgrade - Stack Overflow

matteradmin4PV0评论

We are storing queueId from Jenkins API as integer as it used to be. However after Jenkins version upgrade to CloudBees CI Version 2.462.2.2, this queueId becomes a really big number like 59214986632345984610 which is exceed the integer size and caused an error. Is it an expected change in this particular version? My understanding is queueId is a regular primary key, why it setup as a large number in this new version?

We are storing queueId from Jenkins API as integer as it used to be. However after Jenkins version upgrade to CloudBees CI Version 2.462.2.2, this queueId becomes a really big number like 59214986632345984610 which is exceed the integer size and caused an error. Is it an expected change in this particular version? My understanding is queueId is a regular primary key, why it setup as a large number in this new version?

Share Improve this question edited Nov 18, 2024 at 16:14 MLlamas xWF 473 bronze badges asked Nov 18, 2024 at 16:10 HannahHannah 851 silver badge11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

queueId has always been long, check git blame here, for example. So it should be between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,808. I am going to assume the example you provided is a bit of an exaggeration. If not - could you provide the API endpoint that returned it?

Post a comment

comment list (0)

  1. No comments so far