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

accurev plugin triggers rebuild if slave that holds workspace is offline

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • accurev-plugin
    • None
    • Distributed master/slave arrangement. Project configured to get its source from accurev and to poll accurev for changes.

      If the slave that build the most-recent build on an accurev project goes offline, the project rebuilds, even if no changes happened and hence no rebuild is required.

      JENKINS-1348 describes (and fixed) an issue whereby builds would be triggered if the slave that did the last build went offline (even temporarily). The fix extended the SCM base class and then relied on SCM implementations to override that behaviour where appropriate.
      However, no corresponding change was made to the accurev plugin.

      The accurev plugin code needs to implement requiresWorkspaceForPolling() and return false (as its polling method doesn't rely on a workspace).

            pjdarton pjdarton
            pjdarton pjdarton
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: