cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Pass Build Tag Variable to AppMon from Jenkins Plugin

jason_bortolot1
Dynatrace Participant
Dynatrace Participant

Running into a problem with the Jenkins plugin for AppMon. We are using the Jenkins plugin to monitor unit tests, and it looks like AppMon is getting the data. However, we are not sure how to pass on the build_tag variable. Currently, the build_tag we see says "autogenerated".

We have included an image for reference.

1 REPLY 1


Hi Jason,


You need to pass the Jenkins Build ID within your Ant/Maven/etc scripts. This BUILD_ID comes from env so be sure to import it. (<property environment="env"/>)


versionBuild="${BUILD_ID}" or  <versionBuild>${BUILD_ID}</versionBuild>

Reference: https://github.com/jenkinsci/dynatrace-plugin/blob/master/README.md