Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41255

Upgrading from a navigator that did not assign consistent source ids to a version that does assign consistent source ids causes a build storm on first scan

    Details

    • Similar Issues:

      Description

      This affects only Organization Folders.

      The first time they are scanned - after upgrade - all the SCMSource implementations will be given new permanent IDs rather than getting a random ID with every scan.

      As an ID change triggers a rebuild, the result is a build storm of all branches in all repositories in the organization folder.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/jenkins/branch/MultiBranchProject.java
            src/main/java/jenkins/branch/OrganizationFolder.java
            src/test/java/integration/EventsTest.java
            http://jenkins-ci.org/commit/branch-api-plugin/95bd3e9b604a13258a4f34c5a7a6fd7569e99cd7
            Log:
            JENKINS-41255 Propagate SCMSource id changes when the new SCMSource is identical to the old

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/branch/MultiBranchProject.java src/main/java/jenkins/branch/OrganizationFolder.java src/test/java/integration/EventsTest.java http://jenkins-ci.org/commit/branch-api-plugin/95bd3e9b604a13258a4f34c5a7a6fd7569e99cd7 Log: JENKINS-41255 Propagate SCMSource id changes when the new SCMSource is identical to the old
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/jenkins/branch/MultiBranchProject.java
            http://jenkins-ci.org/commit/branch-api-plugin/6e2decef355098cb229944bb221248d5080915f7
            Log:
            JENKINS-41255 Actually we should remove both sides of a match

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/branch/MultiBranchProject.java http://jenkins-ci.org/commit/branch-api-plugin/6e2decef355098cb229944bb221248d5080915f7 Log: JENKINS-41255 Actually we should remove both sides of a match
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/jenkins/branch/MultiBranchProject.java
            http://jenkins-ci.org/commit/branch-api-plugin/9394a7eb697ed3cf83f37540b14c5e28fdcad7fb
            Log:
            JENKINS-41255 Address code review comments

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/branch/MultiBranchProject.java http://jenkins-ci.org/commit/branch-api-plugin/9394a7eb697ed3cf83f37540b14c5e28fdcad7fb Log: JENKINS-41255 Address code review comments
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/jenkins/branch/MultiBranchProject.java
            src/main/java/jenkins/branch/OrganizationFolder.java
            src/test/java/integration/EventsTest.java
            http://jenkins-ci.org/commit/branch-api-plugin/f8676093204464ab9b1dd652297a60aea3f7b245
            Log:
            Merge pull request #74 from stephenc/jenkins-41255

            JENKINS-41255 Propagate SCMSource id changes when the new SCMSource is identical to the old

            Compare: https://github.com/jenkinsci/branch-api-plugin/compare/c8d9b6380954...f86760932044

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/branch/MultiBranchProject.java src/main/java/jenkins/branch/OrganizationFolder.java src/test/java/integration/EventsTest.java http://jenkins-ci.org/commit/branch-api-plugin/f8676093204464ab9b1dd652297a60aea3f7b245 Log: Merge pull request #74 from stephenc/jenkins-41255 JENKINS-41255 Propagate SCMSource id changes when the new SCMSource is identical to the old Compare: https://github.com/jenkinsci/branch-api-plugin/compare/c8d9b6380954...f86760932044
            Hide
            stephenconnolly Stephen Connolly added a comment -

            scm-api-2.0.2
            git-2.6.4 or git-3.0.4
            branch-api-2.0.2
            bitbucket-branch-source-2.0.2
            github-branch-source-2.0.1
            cloudbees-folder-5.17
            workflow-multibranch-2.11

            Show
            stephenconnolly Stephen Connolly added a comment - scm-api-2.0.2 git-2.6.4 or git-3.0.4 branch-api-2.0.2 bitbucket-branch-source-2.0.2 github-branch-source-2.0.1 cloudbees-folder-5.17 workflow-multibranch-2.11

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: