• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • core

      Mercurial scm polling stops after running once after restart.
      Jenkins version: 1.570 (can only choose 'current' in Jira)

      config.xml scm:

      <scm class="hudson.plugins.mercurial.MercurialSCM" plugin="mercurial@1.50">
          <installation>(Default)</installation>
          <source>http://host/path/project</source>
          <modules/>
          <revisionType>BRANCH</revisionType>
          <revision>stable</revision>
          <clean>true</clean>
          <browser class="hudson.plugins.mercurial.browser.HgWeb">
              <url>http://host/path/project/</url>
          </browser>
          <credentialsId/>
          <disableChangeLog>false</disableChangeLog>
      </scm>
      

      config.xml triggers:

      <triggers>
          <hudson.triggers.SCMTrigger>
              <spec>H 3 * * 1-6</spec>
              <ignorePostCommitHooks>false</ignorePostCommitHooks>
          </hudson.triggers.SCMTrigger>
      </triggers>
      

      scm-polling.log (today is 14-aug-2014, so it did not run for a couple of days already):

      Started on 9-aug-2014 3:27:01
      Polling SCM changes on master
      [workspace] $ hg pull --rev stable
      pulling from http://host/path/project
      no changes found
      [workspace] $ hg log --rev stable --template {node}
      [workspace] $ hg log --rev stable --template {rev}
      Done. Took 1,3 seconden
      No changes
      

          [JENKINS-24244] Scheduled polling not run

          Rick Oosterholt created issue -
          Rick Oosterholt made changes -
          Description Original: Mercurial scm polling stops after running once after restart.

          config.xml scm:
          {code:xml}
          <scm class="hudson.plugins.mercurial.MercurialSCM" plugin="mercurial@1.50">
              <installation>(Default)</installation>
              <source>http://host/path/project&lt;/source>
              <modules/>
              <revisionType>BRANCH</revisionType>
              <revision>stable</revision>
              <clean>true</clean>
              <browser class="hudson.plugins.mercurial.browser.HgWeb">
                  <url>http://host/path/project/&lt;/url>
              </browser>
              <credentialsId/>
              <disableChangeLog>false</disableChangeLog>
          </scm>
          {code}

          triggers:
          {code:xml}
          <triggers>
              <hudson.triggers.SCMTrigger>
                  <spec>H 3 * * 1-6</spec>
                  <ignorePostCommitHooks>false</ignorePostCommitHooks>
              </hudson.triggers.SCMTrigger>
          </triggers>
          {code}
          New: Mercurial scm polling stops after running once after restart.

          config.xml scm:
          {code:xml}
          <scm class="hudson.plugins.mercurial.MercurialSCM" plugin="mercurial@1.50">
              <installation>(Default)</installation>
              <source>http://host/path/project&lt;/source>
              <modules/>
              <revisionType>BRANCH</revisionType>
              <revision>stable</revision>
              <clean>true</clean>
              <browser class="hudson.plugins.mercurial.browser.HgWeb">
                  <url>http://host/path/project/&lt;/url>
              </browser>
              <credentialsId/>
              <disableChangeLog>false</disableChangeLog>
          </scm>
          {code}

          config.xml triggers:
          {code:xml}
          <triggers>
              <hudson.triggers.SCMTrigger>
                  <spec>H 3 * * 1-6</spec>
                  <ignorePostCommitHooks>false</ignorePostCommitHooks>
              </hudson.triggers.SCMTrigger>
          </triggers>
          {code}

          scm-polling.log:
          {code}
          Started on 9-aug-2014 3:27:01
          Polling SCM changes on master
          [workspace] $ hg pull --rev stable
          pulling from http://host/path/project
          no changes found
          [workspace] $ hg log --rev stable --template {node}
          [workspace] $ hg log --rev stable --template {rev}
          Done. Took 1,3 seconden
          No changes
          {code}
          Summary Original: Polling of Mercurial scm stop working New: Polling of Mercurial scm stoped working
          Rick Oosterholt made changes -
          Description Original: Mercurial scm polling stops after running once after restart.

          config.xml scm:
          {code:xml}
          <scm class="hudson.plugins.mercurial.MercurialSCM" plugin="mercurial@1.50">
              <installation>(Default)</installation>
              <source>http://host/path/project&lt;/source>
              <modules/>
              <revisionType>BRANCH</revisionType>
              <revision>stable</revision>
              <clean>true</clean>
              <browser class="hudson.plugins.mercurial.browser.HgWeb">
                  <url>http://host/path/project/&lt;/url>
              </browser>
              <credentialsId/>
              <disableChangeLog>false</disableChangeLog>
          </scm>
          {code}

          config.xml triggers:
          {code:xml}
          <triggers>
              <hudson.triggers.SCMTrigger>
                  <spec>H 3 * * 1-6</spec>
                  <ignorePostCommitHooks>false</ignorePostCommitHooks>
              </hudson.triggers.SCMTrigger>
          </triggers>
          {code}

          scm-polling.log:
          {code}
          Started on 9-aug-2014 3:27:01
          Polling SCM changes on master
          [workspace] $ hg pull --rev stable
          pulling from http://host/path/project
          no changes found
          [workspace] $ hg log --rev stable --template {node}
          [workspace] $ hg log --rev stable --template {rev}
          Done. Took 1,3 seconden
          No changes
          {code}
          New: Mercurial scm polling stops after running once after restart.

          config.xml scm:
          {code:xml}
          <scm class="hudson.plugins.mercurial.MercurialSCM" plugin="mercurial@1.50">
              <installation>(Default)</installation>
              <source>http://host/path/project&lt;/source>
              <modules/>
              <revisionType>BRANCH</revisionType>
              <revision>stable</revision>
              <clean>true</clean>
              <browser class="hudson.plugins.mercurial.browser.HgWeb">
                  <url>http://host/path/project/&lt;/url>
              </browser>
              <credentialsId/>
              <disableChangeLog>false</disableChangeLog>
          </scm>
          {code}

          config.xml triggers:
          {code:xml}
          <triggers>
              <hudson.triggers.SCMTrigger>
                  <spec>H 3 * * 1-6</spec>
                  <ignorePostCommitHooks>false</ignorePostCommitHooks>
              </hudson.triggers.SCMTrigger>
          </triggers>
          {code}

          scm-polling.log (today is 14-aug-2014, so it did not run for a couple of days already):
          {code}
          Started on 9-aug-2014 3:27:01
          Polling SCM changes on master
          [workspace] $ hg pull --rev stable
          pulling from http://host/path/project
          no changes found
          [workspace] $ hg log --rev stable --template {node}
          [workspace] $ hg log --rev stable --template {rev}
          Done. Took 1,3 seconden
          No changes
          {code}
          Rick Oosterholt made changes -
          Description Original: Mercurial scm polling stops after running once after restart.

          config.xml scm:
          {code:xml}
          <scm class="hudson.plugins.mercurial.MercurialSCM" plugin="mercurial@1.50">
              <installation>(Default)</installation>
              <source>http://host/path/project&lt;/source>
              <modules/>
              <revisionType>BRANCH</revisionType>
              <revision>stable</revision>
              <clean>true</clean>
              <browser class="hudson.plugins.mercurial.browser.HgWeb">
                  <url>http://host/path/project/&lt;/url>
              </browser>
              <credentialsId/>
              <disableChangeLog>false</disableChangeLog>
          </scm>
          {code}

          config.xml triggers:
          {code:xml}
          <triggers>
              <hudson.triggers.SCMTrigger>
                  <spec>H 3 * * 1-6</spec>
                  <ignorePostCommitHooks>false</ignorePostCommitHooks>
              </hudson.triggers.SCMTrigger>
          </triggers>
          {code}

          scm-polling.log (today is 14-aug-2014, so it did not run for a couple of days already):
          {code}
          Started on 9-aug-2014 3:27:01
          Polling SCM changes on master
          [workspace] $ hg pull --rev stable
          pulling from http://host/path/project
          no changes found
          [workspace] $ hg log --rev stable --template {node}
          [workspace] $ hg log --rev stable --template {rev}
          Done. Took 1,3 seconden
          No changes
          {code}
          New: Mercurial scm polling stops after running once after restart.
          Jenkins version: 1.570 (can only choose 'current' in Jira)

          config.xml scm:
          {code:xml}
          <scm class="hudson.plugins.mercurial.MercurialSCM" plugin="mercurial@1.50">
              <installation>(Default)</installation>
              <source>http://host/path/project&lt;/source>
              <modules/>
              <revisionType>BRANCH</revisionType>
              <revision>stable</revision>
              <clean>true</clean>
              <browser class="hudson.plugins.mercurial.browser.HgWeb">
                  <url>http://host/path/project/&lt;/url>
              </browser>
              <credentialsId/>
              <disableChangeLog>false</disableChangeLog>
          </scm>
          {code}

          config.xml triggers:
          {code:xml}
          <triggers>
              <hudson.triggers.SCMTrigger>
                  <spec>H 3 * * 1-6</spec>
                  <ignorePostCommitHooks>false</ignorePostCommitHooks>
              </hudson.triggers.SCMTrigger>
          </triggers>
          {code}

          scm-polling.log (today is 14-aug-2014, so it did not run for a couple of days already):
          {code}
          Started on 9-aug-2014 3:27:01
          Polling SCM changes on master
          [workspace] $ hg pull --rev stable
          pulling from http://host/path/project
          no changes found
          [workspace] $ hg log --rev stable --template {node}
          [workspace] $ hg log --rev stable --template {rev}
          Done. Took 1,3 seconden
          No changes
          {code}
          Jesse Glick made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Rick Oosterholt made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Assignee Original: Jesse Glick [ jglick ]
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: mercurial [ 15502 ]
          Component/s Original: pollscm [ 17336 ]
          Labels New: cron
          Summary Original: Polling of Mercurial scm stoped working New: Scheduled polling not run
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-22431 [ JENKINS-22431 ]
          Daniel Beck made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]

            Unassigned Unassigned
            r_oosterholt Rick Oosterholt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: