开发者

CruiseControl.Net resets CCNetLabel when service restarts

I am using CruiseControl.Net for continuous integration. I use the CCNetLabel to version the assemblies that are built.

However, if the service is restarted for any reason, the CCNetLabel starts again at 1.

开发者_如何学Python

I am using the defaultLabeller. Is this the expected behaviour? can this be changed?


That's certainly not the expected beviour. I suspect that there could be a problem with saving the state file for the project. By default it is saved in the directory the service was launched from.

Make sure the account the service is running under has write permissions in that folder or change the location of the state file (recommended) in ccnet.config with the state element.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜