[JIRA] (JENKINS-57588) Branch API 2.5.0 rebuilds all jobs in multibranch folder on first scan after upgrade

0 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
May 21, 2019, 4:09:03 PM5/21/19
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
 
Jenkins / Bug JENKINS-57588
Branch API 2.5.0 rebuilds all jobs in multibranch folder on first scan after upgrade
Change By: Mark Waite
Summary: Branch API 2.5.0 rebuilds all jobs in my multibranch folder on first scan after upgrade
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mark.earl.waite@gmail.com (JIRA)

unread,
May 21, 2019, 5:54:03 PM5/21/19
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-57588
 
Re: Branch API 2.5.0 rebuilds all jobs in multibranch folder on first scan after upgrade

Refer to pull request 152 for an initial idea that might prevent the build storm.

It seems that line 2082 in the diff might not be handling the initial startup case where a job already exists but the lastSeenRevision file has not been written.

bitwiseman@gmail.com (JIRA)

unread,
May 21, 2019, 7:10:02 PM5/21/19
to jenkinsc...@googlegroups.com

Mark Waite
Since you were able to repro this do you have an instance where you can try this incremental?
https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/branch-api/2.5.1-rc752.20712eff7952/

If trying to repro this on an existing instance that was upgraded, you will of course need to downgrade and then delete the lastSeen files first.

mark.earl.waite@gmail.com (JIRA)

unread,
May 21, 2019, 10:18:02 PM5/21/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
May 21, 2019, 10:25:01 PM5/21/19
to jenkinsc...@googlegroups.com
Mark Waite started work on Bug JENKINS-57588
 
Change By: Mark Waite
Status: Open In Progress
Reply all
Reply to author
Forward
0 new messages