Monday, September 23, 2013

Specify a NAnt script to run in Jenkins!

  1. Log in and also go to the project in no particular order.
  2. Click on "Configure” at the left navigation.
  3. There is a bunch of stuff to configure here. Scroll down to: "Execute NAnt Build" (a draggable area below "Build"*)
    • Enter the path to the NAnt build file relative to the head of the repository's file structure you are using at the fill-in-the-blank field for "Nant Build File” ...an example could be: build/nant.build if you have a "build" folder at the root of your repository and a "nant.build” file within it.
    • Enter the targets to be run at: "Targets”

*If this build step does not exist you will need to add it. You may have to install a NAnt Plugin to get this to work...

No comments:

Post a Comment