The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Dynatrace Application Monitoring Plugin

appMonPublishTestResults: Dynatrace AppMon - Finish Registered Tests Runs and Publish Results

This plugin fetches analysis data from the AppMon Server (Test Center Edition) REST interface. It displays a chart with a trend on passed/degraded/failing/... etc. tests, and also provides a detailed view for each test case showing the metrics recorded by Dynatrace Application Monitoring.
  • printXmlReportForDebug : boolean (optional)
  • statusNameIfDegraded : String (optional)
  • statusNameIfVolatile : String (optional)

appMonRegisterTestRun: Dynatrace AppMon - Register Test Run

This step registers new Test Run with given category and returns test run id

  • category : String
  • platform : String (optional)

step([$class: 'TAReportingRecorder']): Dynatrace AppMon - Finish Registered Tests Runs and Publish Results

This plugin fetches analysis data from the Dynatrace Server (Test Center Edition) REST interface. It displays a chart with a trend on passed/degraded/failing/... etc. tests, and also provides a detailed view for each test case showing the metrics recorded by Dynatrace Application Monitoring.
  • modifyStatusIfDegraded : boolean
  • modifyStatusIfVolatile : boolean
  • statusNameIfDegraded : String
  • statusNameIfVolatile : String
  • printXmlReportForDebug : boolean

step([$class: 'TATestRunRegistrationBuildStep']): Dynatrace AppMon - Register Test Run

This step registers new test run with given category and sets the 'dtTestrunID' build variable.

  • category : String
  • platform : String

appMonBuildEnvironment: Use Dynatrace AppMon to monitor tests

The below properties will be available as build variables in all the build steps during build. You can use them to register test run on your own (in your scripts).

Also the properties set in global plugin configuration ("Dynatrace Application Monitoring" config section) will be available as build variables: 'dtServerUrl', 'dtUsername' and 'dtPassword'.

NOTE:
If you decide not to use the below properties in your scripts and to register test runs on your own, please fill at least the "System profile" field to have the post-build action working properly.

  • systemProfile : String
  • marker : String (optional)
  • recordSession : boolean (optional)
  • versionMajor : String (optional)
  • versionMilestone : String (optional)
  • versionMinor : String (optional)
  • versionRevision : String (optional)

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.