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

builds (SCM polling based) are triggered even when there are no (SVN) SCM changes

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Win2003 R2 32bit, JDK 1.6.0_18, Tomcat 6.0.20, Hudson 1.350, Subversion plugin 1.13

      in the past few days I noticed a lot of job builds on our Hudson instance are triggered when there are no SCM changes.

      the subversion polling log reports:
      =============================================================
      Last Subversion Polling Log

      Started on 13-Mar-2010 11:46:43

      https://URL/to/repo is at revision 58,781

      Done. Took 1.2 sec

      No changes
      =============================================================

      the build log reports:
      =============================================================
      Revision: 58781
      No changes.

      Started by an SCM change
      =============================================================

      The catalina log is also clean:
      =============================================================
      13-Mar-2010 11:46:43 hudson.triggers.SCMTrigger$Runner run
      INFO: SCM changes detected in JobName. Triggering #491
      ...
      13-Mar-2010 11:47:35 hudson.model.Run run
      INFO: JobName #491 main build action completed: SUCCESS
      =============================================================

      It is really puzzling me...

          [JENKINS-5926] builds (SCM polling based) are triggered even when there are no (SVN) SCM changes

          Anne Stellingwerf added a comment - - edited

          I've got the same issue, but then on

          WinXP Pro (Dutch) 32bit, running Hudson as a service, JDK 1.6.0_18, Hudson 1.349, Subversion plugin 1.13

          Anne Stellingwerf added a comment - - edited I've got the same issue, but then on WinXP Pro (Dutch) 32bit, running Hudson as a service, JDK 1.6.0_18, Hudson 1.349, Subversion plugin 1.13

          Alan Harder added a comment -

          do your jobs point to a custom workspace or let Hudson do the original checkout?

          Alan Harder added a comment - do your jobs point to a custom workspace or let Hudson do the original checkout?

          I use a free-style software project and use the default svnkit in hudson to checkout/update/revert.

          Anne Stellingwerf added a comment - I use a free-style software project and use the default svnkit in hudson to checkout/update/revert.

          Andrea Barbieri added a comment - - edited

          in my case we always use the default workspace and the subversion plugin (with svnkit). Projects are either free-style or maven2.

          I think this is the reason for the trigger (in some of my cases)

          after a successful build during the normal SCM poll checks I do experience from time to time a socket connection timeout (SVN repo server) and this triggers somehow the workspace to be deleted (SVN use update option unchecked). Once the workspace is gone another build will be triggered at the next successful SCM poll attempt (even though it claims no SCM changes).

          Andrea Barbieri added a comment - - edited in my case we always use the default workspace and the subversion plugin (with svnkit). Projects are either free-style or maven2. I think this is the reason for the trigger (in some of my cases) after a successful build during the normal SCM poll checks I do experience from time to time a socket connection timeout (SVN repo server) and this triggers somehow the workspace to be deleted (SVN use update option unchecked). Once the workspace is gone another build will be triggered at the next successful SCM poll attempt (even though it claims no SCM changes).

          fixed with Subversion plugin Version 1.17 (Apr 21, 2010)

          Andrea Barbieri added a comment - fixed with Subversion plugin Version 1.17 (Apr 21, 2010)

            Unassigned Unassigned
            abarbieri Andrea Barbieri
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: