Hello,
We start JUnit in our CI thru a Maven task (see below). My question is how to pass information about the current build or any custom attributes to dynaTrace in this particular use case.
Thank you,
Leo
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.11</version>
<configuration>
<failIfNoTests>false</failIfNoTests>
<testFailureIgnore>true</testFailureIgnore>
<argLine>${env.MAVEN_OPTS} -agentpath:/devl/bdc/dynatrace-5.6.0/agent/lib/libdtagent.so...</argLine>
</configuration>
</plugin>
Answer by leo s. ·
Thank you, Rick
One quick question - will the maven plugin downloaded/installed from dynaTrace 4.1 & 5.x -->Automation Library for 4.1 & 5.x packaged for Maven 2 (dtAutomation41ForMaven.zip) work with dynaTrace 5.6? Or I have to manually repackage it with the latest com.dynatrace.diagnostics.automation.jar file available under dynaTrace 5.6->Automation Library ONLY
Thanks,
Leo
Answer by Rick B. ·
Hi Leo,
Check out the Automation Library (Ant, Maven) for Dynatrace, which includes sample pom.xml for configuring the test automation detail.
Rick B
JANUARY 15, 3:00 PM GMT / 10:00 AM ET