- stop all projects, or certainly the CI ones
- stop ccnet service/console
- take backup of the server and dashboard folders (zip them) just to be on the safe side
- copy over the new binaries (including templates, xsl files, ...)
- start ccnet service/console
- start the projects again
Now if you have only a couple of CCNet projects, you can click stop on each of them, but if you got dozens, this will take some time. And since I'm into automation, I do not like to do repeatative jobs, these are sure to give errors one time. Unfortunately there is no built in mechanism to stop all projects, or a group of projects, but all the functionality exists. I took a look at CCTray, and after some time I figured it out. I'll save you the trouble, just copy the code below. I know, not the most clear code, but it is on the to-do list for a major refactor.
The code is a VB.Net console program, but perfectly usable :-)
Pass start or stop as argument, to start/stop projects not in de Deployment category.