开发者

CruiseControl.net continuously sends error messages whenever it can't connect to SVN

开发者 https://www.devze.com 2022-12-18 06:10 出处:网络
And this is pretty annoying since we have it set up to continuously check svn every 20 seconds. So if svn is down for some reason we could potentially be getting 3 error emails every minute.

And this is pretty annoying since we have it set up to continuously check svn every 20 seconds. So if svn is down for some reason we could potentially be getting 3 error emails every minute.

For example, svn was down today and I had about 90 emails from CruiseControl.net on how it can't connect to svn in my inbox when I came in the morning (cruisecontrol starts at 8:30am and I come in at 9:00am, 3 errors per minute, so 3*30=90 messages).

Mind you, the notificationType for emails I have set up in cruisecontrol is "Change". But I guess this only pertains to builds and not actually checking svn.

Now don开发者_JAVA技巧't get me wrong, I'd like to know when there's a problem connecting to SVN but 1 email would be nice and not a zillion.

Any ideas? thanks in advance..


I fixed this by setting

'ReportOnRetryAmount' in sourceControlErrorHandling


You should check for similar Q/A which has already been answered: Can we tell CruiseControl.NET to ignore source control timeout errors?

0

精彩评论

暂无评论...
验证码 换一张
取 消