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 (optional)
    • Type: boolean
  • statusNameIfDegraded (optional)
    • Type: String
  • statusNameIfVolatile (optional)
    • Type: String

appMonRegisterTestRun: Dynatrace AppMon - Register Test Run

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

  • category
    • Type: String
  • platform (optional)
    • Type: String

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
    • Type: boolean
  • modifyStatusIfVolatile
    • Type: boolean
  • statusNameIfDegraded
    • Type: String
  • statusNameIfVolatile
    • Type: String
  • printXmlReportForDebug
    • Type: 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
    • Type: String
  • platform
    • Type: 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
    • Type: String
  • marker (optional)
    • Type: String
  • recordSession (optional)
    • Type: boolean
  • versionMajor (optional)
    • Type: String
  • versionMilestone (optional)
    • Type: String
  • versionMinor (optional)
    • Type: String
  • versionRevision (optional)
    • Type: String

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.