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

We are storing queueId from Jenkins API as integer as it used to be. However after Jenkins version upgr

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745608888a4635831.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信