Name |
NAnt Builder |
|---|---|
Version |
1.0.0 |
Product Versions |
1.0.x, 1.1 |
Author(s) |
|
Homepage |
http://confluence.atlassian.com/display/CODEGEIST/NAnt+Builder |
Price |
Free |
License |
|
JavaDocs |
See nant_builder.zip |
IssueTracking |
http://developer.atlassian.com/jira/browse/NANT |
Subversion URL |
https://svn.atlassian.com/svn/public/contrib/bamboo/bamboo-nantbuilder-plugin or browse via fisheye |
Download JAR |
|
Download Source |
A builder plugin that will allow configuration and execution of NAnt build files for .Net/Mono projects, which also supports parsing and displaying of NUnit test results |
This plugin will allow you to configure a single Bamboo instance handle building both your Java and .Net projects, which is especially useful if you have multi-disciple teams in your organization.
In order to use the NAnt Builder, you must first install NAnt, which can be obtained from http://nant.sourceforge.net
. In addition, you will also need to install an
appropriate version of the .Net framework, which can be downloaded from http://msdn2.microsoft.com/en-us/netframework/aa569263.aspx
or the Mono framework, which can be downloaded from http://www.mono-project.com/Downloads
.
This plugin has been tested using .Net Framework v2.0 on Windows XP and Mono v1.2 on OS X using both Bamboo v1.0.5 and v1.1. If you encounter any difficulties with this builder on other platforms, please let me know and I'll endeavor to resolve the issue.



The builder will run in the same manner as the Ant and Maven builders ie. the build output will be captured by Bamboo and displayed on the Build Log page. A build will be deemed 'successful' (and thereby appear in the shiny green colour) if the NAnt build finishes with a return code of 0 and if the last 5 lines of the NAnt build include the words 'BUILD SUCCEEDED'. In addition, if the build has been configured to run NUnit tests, a build will be deemed successful if all the tests pass. If any of these conditions are not met, then the build will be deemed to have 'failed'.
I've also included a devenv.com builder as well, which works in the same sort of way as the NAnt Builder and includes the support for parsing and recording NUnit test results. The devenv.com executable is included as part of Microsoft Visual Studio and allows you to build a Visual Studio Solution from the command line.
You first need to add the Builder via the Administration page
Once the builder has been added, you can use this builder in your build's Configuration.
The following lists the reported defects and enhancements that have been reported. If you encounter a defect, or if there is a feature that you'd like added to the builder, feel free to raise an issue at the Jira site, or drop me an email at piaross@gmail.com.
Version |
Date |
Description |
|---|---|---|
1.0.0 |
12 May 2007 |
Final version for submission |
0.9.3 |
12 May 2007 |
Added a devenv builder |
0.9.2 |
3 May 2007 |
NANT-1 Pass through 'BambooBuildLabel' property to NAnt |
0.9.1 |
30 April 2007 |
Added support for parsing/displaying NUnit results |
0.9.0 |
29 April 2007 |
Initial stable version |