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

SVN post-commit script cannot trigger build: "No subversion jobs using SCM polling"

XMLWordPrintable

      We've had the SVN post-commit hook for some time now, but after the latest upgrade to 1.406 (from 1.393, I think) it stopped working. There are no errors in the log expect this warning:

      27.apr.2011 13:36:44 hudson.scm.BlameSubversionRepositoryStatus doNotifyCommit
      WARNING: No subversion jobs using SCM polling
      
      27.apr.2011 13:36:44 hudson.scm.BlameSubversionRepositoryStatus
      FINE: Change reported to Subversion repository <my repos ID> on [ip/Timer/trunk/doc/mytest.doc]
      
      27.apr.2011 13:36:44 hudson.scm.BlameSubversionRepositoryStatus
      FINER: Reading line: A   ip/Timer/trunk/doc/mytest.doc
      

      It says "No subversion jobs using SCM polling" but I am 100% sure that we have SCM polling configured. The scm-polling.log says so:

      Started on 27.apr.2011 13:40:16
      Received SCM poll call on myserver for IP_Timer on Apr 27, 2011 1:40:16 PM
      http://myrepos/repos/ip/Timer/trunk is at revision 14,367
      Ignored revision 14,367: Found only excluded paths: /ip/Timer/trunk/doc/mytest.doc
      Done. Took 0,64 sec
      No changes
      

      I have even tried a fresh test installation and also there the post-commit hook does not work. The http posting returns 200 OK.

      The strange thing is that "ip/Timer/trunk/sim/run/rtl/run_sim" somehow is changed to "/Timer/trunk/sim/run/rtl/run_sim".

            tangjinou tangjinou
            mabahj Markus
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: