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

CLONE - Disable polling if build is running

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened (View Workflow)
    • Major
    • Resolution: Unresolved
    • core
    • None
    • Windows XP, Hudson 1.395, CC Plugin 1.3.5

    Description

      DUPLICATE: http://issues.hudson-ci.org/browse/HUDSON-8674*

      We enabled minutely SCM polling. If build is running (about 2 hours) we see lots of polling executions (lshistory). This slow down the proccess. It should be possible to disable polling if build is running.

      Attachments

        Activity

          anb0s anb0s added a comment -

          cloned for core, fix is trivial and works.

          anb0s anb0s added a comment - cloned for core, fix is trivial and works.
          anb0s anb0s added a comment -

          It should be assigned to somebody from core devs.

          anb0s anb0s added a comment - It should be assigned to somebody from core devs.
          danielbeck Daniel Beck added a comment -

          Nobody is interested in this feature, so resolving as Won't Fix.

          Also, it's not obvious why a new build shouldn't be queued after the current build checked out from SCM and a new change was detected.

          Querying SCM every minute is unnecessarily expensive anyway, if you need immediate builds, just switch to post-commit hook notifications.

          Also, behavior would need to be determined for parallel build projects.

          danielbeck Daniel Beck added a comment - Nobody is interested in this feature, so resolving as Won't Fix. Also, it's not obvious why a new build shouldn't be queued after the current build checked out from SCM and a new change was detected. Querying SCM every minute is unnecessarily expensive anyway, if you need immediate builds, just switch to post-commit hook notifications. Also, behavior would need to be determined for parallel build projects.
          anb0s anb0s added a comment -

          I'm interested and this trivial patch works for us with ClearCase for years. We had no option for hooks at server side and ClearCase had no support for atomic commits But maybe it's possible with ClearCase 8 and CMs are now open for new ideas

          Anyway if hooks are not possible with some SCMs than this is the only way to get SCM plugin with polling mechanism working fast enought and without starting builds in parallel. Why should the system still poll for changes if build is running? It should poll after the build was finished and then build the next changes in one time...

          anb0s anb0s added a comment - I'm interested and this trivial patch works for us with ClearCase for years. We had no option for hooks at server side and ClearCase had no support for atomic commits But maybe it's possible with ClearCase 8 and CMs are now open for new ideas Anyway if hooks are not possible with some SCMs than this is the only way to get SCM plugin with polling mechanism working fast enought and without starting builds in parallel. Why should the system still poll for changes if build is running? It should poll after the build was finished and then build the next changes in one time...
          danielbeck Daniel Beck added a comment -

          My apologies. I'm currently looking through old issues close insufficiently described or otherwise obsolete bugs, non-obvious features with no watchers and voters or issues that could be implemented in plugins; and it seems I've missed you're still watching this.

          danielbeck Daniel Beck added a comment - My apologies. I'm currently looking through old issues close insufficiently described or otherwise obsolete bugs, non-obvious features with no watchers and voters or issues that could be implemented in plugins; and it seems I've missed you're still watching this.

          People

            Unassigned Unassigned
            anb0s anb0s
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: