-
Improvement
-
Resolution: Fixed
-
Blocker
-
None
-
Platform: PC, OS: Windows XP
Hi,
I have a request to update the current NAnt build plugin to have the following
feature added as the Ant plugin already comes with the same feature. For
Example...
NAnt Version:
Targets:
Build File:
Properties:
For more information, please look at the Ant build plugin.
Thanks
[JENKINS-3323] update/improve NAnt Plugin
Assignee | New: jholzer [ jholzer ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | Original: jholzer [ jholzer ] | New: fmhome [ fmhome ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 133396 ] | New: JNJira + In-Review [ 202131 ] |
Version 1.3 of the NAnt plugin has just been released. In addition to the functionality that was provided previously (adding multiple NAnt installations, specifying targets, specifying build file), the plugin now supports setting properties that will be passed to the NAnt build.
This new functionality works in much the same way that the Ant task does. When you add a task for executing a NAnt build, click the "Advanced" button to view the "Properties" text box. You can then enter the properties, one definition per line, in the standard Java properties format:
prop1=value1
prop2=value2
...
propN=valueN
The use of build parameters in the properties is also supported. For instance, if you defined a build parameter named "configuration", you could set a property for your NAnt build as follows:
build.config=$configuration
"$configuration" would simply be replaced with the value of that parameter