Here's a quick tip - you can easily make Hudson restart a windows service, by using its "Windows Batch Command" build step in combination with the command line windows "net" command.
Here's an example of how we can get Hudson to restart Apache running on the same host -
net stop Apache2
net start Apache2
This is handy if you're automating deployments usnig Hudson on Windows hosts. Particularly if you're trying to avoid PermGen issues with hot-redeployments on say, Apache Tomcat.
Richard Nichols is an Australian software engineer with a passion for good design and simple solutions.
You could follow him on twitter or subscribe by RSS or email.
No one has commented yet.
Add a comment