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

All branches (SVN) get built periodically, even if nothing has changed (discard old builds)

    Details

    • Similar Issues:

      Description

      Hello,

      when we use the environment as described above, Subversion as Branch Sources and checked "Periodically if not otherwise run" with an interval of 1 minute in the Build Triggers section, all branches get build every minute even if nothing has changed.

      That happened first after we upgraded the Branch/SCM API to 2.x. With the environment Branch API Plugin 1.5, SCM API Plugin 1.3 and Multi-Branch Project Plugin 0.5.1 only those branches got built periodically, those sources changed.

      I am not quite sure if this is an issue of Branch API Plugin, SCM API Plugin or Multi-Branch Project Plugin.

      EDIT: This happens only if "Discard old builds" as property is chosen for Branch Sources (not for Build Configuration).
      Project log says:

      Checking candidate branch /branches/xyz@509884
      Met criteria
      Takeover for MMTest ┬╗ xyz by source #1 from source that no longer exists
      Branch reopened: xyz (509884)
      Scheduled build for branch: xyz
      

        Attachments

          Activity

          Hide
          recampbell Ryan Campbell added a comment -

          This has to do with the MultiBranch project plugin AFAICT

          Show
          recampbell Ryan Campbell added a comment - This has to do with the MultiBranch project plugin AFAICT

            People

            • Assignee:
              Unassigned
              Reporter:
              jochenafuerbacher Jochen A. F├╝rbacher
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: