Hi Tom
I havent heard of any similar issue so it would be great if you could
add it to the jira so it can be tracked.
Are all builds triggered by a SCM change? You can tell by looking at
one of the builds page, and if it says "triggered by SCM".
Are the jobs built on the same machine?
The build is started either because the workspace is invalid (or not
present on the machine) or if there has been a commit during a period.
Newer Hudson versions store the SCM polling log together with the
build (if it was started by a SCm change), so hopefully we can get
some info from that. To see the polling log for a certain build, go to
the Build page, click on the "Started by a SCM change and you should
see the full log. (similar to
http://ramfelt.se/job/Mockito/528/pollingLog/?)
If you dont have a link for the SCM change then you will have to
manually watch the SCM polling log just after you reboot your server
to see why the plugin triggers a new build.
Regards
//Erik
=========================================================================================
On Tue, Jan 4, 2011 at 13:57, Tom wrote:
> Good morning,
>
> We have a large Hudson master/slave farm using both the TFS and base clear
> case SCM plugins. We've been trying to figure out why each time we restart
> Hudson (usually to install a plugin), Hudson triggers a lot of builds. Not
> all, but a large number. This morning I restarted, and looking at the
> list, realized all of the builds it's triggering on restart are TFS
> based. Some blow away the workspace, some do not.
- is duplicated by
-
JENKINS-20227 Polling submits job if slaves are offline
-
- Closed
-
[JENKINS-8408] Large number of jobs triggered on Hudson restart
Component/s | New: mercurial [ 15502 ] | |
Component/s | New: pollscm [ 17336 ] | |
Environment | Original: Windows 2008 R2 build farm. 1 master, 7 slaves. |
New:
Windows 2008 R2 build farm. 1 master, 7 slaves. reproduced on different environment: Jenkins Master OS: CentOS 6.4 Jenkins Slave OSes: CentOS 6.4 and Windows Server 2008R2 approx. 45-50 slaves Jenkins version: 1.528 Mercurial plugin: 1.46 |
Priority | Original: Major [ 3 ] | New: Critical [ 2 ] |
Yes all of these builds show that they were started by an SCM change, and right above that, "no changes."
Looking through the links on the SCM change text though, I see this:
Polling Log
View as plain text
This page captures the polling log that triggered this build.
Started on Jan 4, 2011 6:59:44 AM
Workspace is offline.
Scheduling a new build to get a workspace.
Done. Took 15 ms
Changes found
What does workspace is offline mean?
Thanks again!