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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.48 / 2.46
      Branch API Plugin 2.0.7
      Multi-Branch Project Plugin 0.6
      SCM API Plugin 2.0.7

      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
      

            Unassigned Unassigned
            jochenafuerbacher Jochen A. Fürbacher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: