{jenkins-plugin-info:nant}

This plugin allows for the execution of a NAnt build as a build step.

This plugin provides functionality similar to the Ant features built in to Jenkins. Windows environments and non-Windows environments, running NAnt via Mono, are supported.

Usage

Using the plugin without any configuration (recommended)

If the NAnt executable is in your system's path, then you can use the default executable without any further configuration. Unless there is a need to use multiple versions of NAnt, this approach is recommended rather than configuring an installation.

Configuring a NAnt installation (optional)

  1. Go to the Jenkins configuration page (i.e. http(s)://<your-jenkins-url>/configure)
  2. Add a new NAnt installation in the NAnt Builder section
  3. Enter a name for the installation (i.e. nant-0.86-beta1)
  4. Enter the NAnt home directory.

Note: If you have a master-slave configuration where one node is running on Windows and the other running on a Unix-based platform, you can configure a NAnt installation based on the node you wish to target. Even if the plugin shows validation errors, you will still be able to save the configuration. There are future plans to clean this functionality up, but for now you will just have to ignore any validation errors.

Adding a NAnt build step

  1. Open the configuration for a new or existing Jenkins freestyle build job
  2. In the "Build" section, add a new "Top Level NAnt Target" build step
  3. Choose a NAnt installation from the dropdown
  4. Optionally enter a build file
  5. Optionally enter targets (separate multiple targets by a space)
  6. Click the "Advanced" button to enter optional property definitions.

Changelog

Version 1.4.3 (Nov 1, 2012)

Version 1.4.2 (Aug 5, 2011)

Version 1.4.1 (Mar 4, 2010)

Version 1.4

Version 1.3.1

Version 1.3

Version 1.2