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

Subversion freestyle (ant) build misses most recent revision.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • subversion-plugin
    • None
    • Platform: Other, OS: Linux

      With Hudson 1.76 and up to 1.80 (current) when the subversion post-commit hook
      calls the build url on a project the build misses the most recent revision.

      switching off the 'use update' setting and letting it build completely resets it
      to the most recent revision.. but the next build back on 'use update' misses any
      changes all together.

      Manually invoking the build has the same result, one revision behind.

          [JENKINS-1263] Subversion freestyle (ant) build misses most recent revision.

          This appears to be a symptom of subversion repository clock and Hudson clock out
          of sync.

          I guess your clock difference is not big enough to trigger the improvement in
          1.180 to detect this.

          If the clock was indeed out of sync, let me know the time difference before you
          fix it. I'd like to see if I can tweak the error detection a little.

          Kohsuke Kawaguchi added a comment - This appears to be a symptom of subversion repository clock and Hudson clock out of sync. I guess your clock difference is not big enough to trigger the improvement in 1.180 to detect this. If the clock was indeed out of sync, let me know the time difference before you fix it. I'd like to see if I can tweak the error detection a little.

          davidseymore added a comment -

          Looks like the machines are off by about 3 minutes.

          SVN:
          Thu Feb 7 08:01:13 EST 2008
          Hudson:
          Thu Feb 7 07:58:12 EST 2008

          times are synched with ntp now. and things are fixed.

          davidseymore added a comment - Looks like the machines are off by about 3 minutes. SVN: Thu Feb 7 08:01:13 EST 2008 Hudson: Thu Feb 7 07:58:12 EST 2008 times are synched with ntp now. and things are fixed.

          Thanks. With 3 minutes difference, I'd have expected Hudson to catch this
          situation. Did it not give you any warnings or some such in the console output?

          I guess the essence of this issue is captured in issue #1241, so I'm closing
          this as a duplicate. Thank you for the bug report, and apologies on behalf of
          Hudson for the frustration you must have had.

          Kohsuke Kawaguchi added a comment - Thanks. With 3 minutes difference, I'd have expected Hudson to catch this situation. Did it not give you any warnings or some such in the console output? I guess the essence of this issue is captured in issue #1241, so I'm closing this as a duplicate. Thank you for the bug report, and apologies on behalf of Hudson for the frustration you must have had.

          Oops, wrong resolution

          Kohsuke Kawaguchi added a comment - Oops, wrong resolution

          Closing as a duplicate.

              • This issue has been marked as a duplicate of 1241 ***

          Kohsuke Kawaguchi added a comment - Closing as a duplicate. This issue has been marked as a duplicate of 1241 ***

            Unassigned Unassigned
            davidseymore davidseymore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: