最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin3浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论