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.
开发者_如何学PythonI 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.
精彩评论