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
- depends on
-
JENKINS-22431 Rewrite Trigger.Cron to be an AperiodicWork
-
- Open
-
- is related to
-
JENKINS-26208 Jenkins should not skip polling while quieting down
-
- Resolved
-
[JENKINS-24244] Scheduled polling not run
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</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> {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</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> {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 |
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</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> {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</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> {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} |
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</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> {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</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> {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} |
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Incomplete [ 4 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Without information to reproduce it is hard to say what is at fault. Did polling not get triggered at all? Are you using version 1.50 of the plugin, or 1.51-beta-2 (on experimental update center) that has special integration with 1.568+? Seems like you are not using caching. Does polling work for other SCMs?
Just checked 1.570 with 1.50 on Linux and polling is working fine (against a Bitbucket test repo) even after a restart.