Comments have been closed on this page. Please use AppMon & UEM Plugins forum for questions about this plugin.
NAnt Task Library
The Download Package includes a .NET Library that implements several tasks to be used by NAnt scripts.
Following tasks can be executed:
This library makes use of the .NET Command Library.
You have to register the new Build Tasks with the UseTask configuration entry in your build scripts like this:
The following tasks with the listed properties can now be used in your NAnt scripts:
SetTestInformation (from dynaTrace 3.5 till dynaTrace 6.0)
StartTest (from dynaTrace 6.1)
StartTest task registers a new test run in dynaTrace and sets the DT_TESTRUN_ID environment variable picked up by the .NET agent. Tests should be executed after this is made so that the agent sees the environment variable and will use it when reporting data back to dynaTrace.
The Library uses the dynaTrace.Command.dll which is installed with the dynaTrace Server. dynaTrace.Command.dll uses the dynaTrace Web Service interfaces. For every dynaTrace.Command.dll call the library creates an EventLog Entry with detailed information about the command line arguments that were passed. This should help with troubleshooting.
The task ConfigureApplicationTask needs write access to the HKLM Registry on your local machine. In case your user does not have the appropriate access rights you will run into errors.
The download package includes a sample NAnt file. Check it out for a reference
Hi Can you please update the sample_nant.xml file with the new services available?
I'm interested to know how we can use the "registertestrun" or "setmetadata" services through the NANT library.