This is a quick start up to getting your .NET Visual Studio projects to build using Hudson Continuous Integration server.
- Start Hudson using the command java -jar hudson.war You will see the output like -
- Go to Manage Hudson and if you see a new version of Hudson is available install it
- Go to Manage Hudson-> Configure System and install the MSBuild plugin, MSTest plugin, NUnit plugin, Violations plugin and NAnt plugin
- Shut down hudson and start it again. This will get the new version up and running
- Configure the email settings and NAnt settings etc
At this point installation and configuration is complete. Now to create jobs
- On the Dashboard Click New job->Build a free-style software project->OK
- Enter the SVN url of the project [Hudson has built-in SVN support. If you use other source control systems then you might have to install plugins]
- To test the configuration, press Save and then Build. The source code will be downloaded from the repository and put into the Workspace
- Click the ‘Add build step’-> ‘Build a Visual Studio project or solution using MSBuild’ Enter the solution file path if you want to build the entire solution or the project path
- To test the configuration, press Save and then Build. Now the source code should be updated if there any changes and then built using MSBuild. While the build is running you can check the Console log that is updated as the build continues.
That's it folks. Try it and let me know if that works! Hudson is very configurable so you can be creative with your builds and test cases.
PS: I will add pictures shortly.
No comments:
Post a Comment
Thank you for your feedback