• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by leo s. · Apr 24, 2014 at 03:47 AM ·

JUnit thru Maven Task

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>

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by leo s. · May 03, 2014 at 02:15 AM

Thank you, Rick

Leo

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by leo s. · May 02, 2014 at 07:36 AM

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


 

 

  

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rick B. · May 02, 2014 at 07:40 AM 0
Share

Yes, the "packaged for Maven" plugin should work with 5.6.  Since the library really just parameterizes our REST calls I don't believe there should be much worry about incompatibility with later versions unless we deprecate those REST calls (which is unlikely).

Rick B

 

avatar image

Answer by Rick B. · Apr 24, 2014 at 06:21 AM

Hi Leo,

Check out the Automation Library (Ant, Maven) for Dynatrace, which includes sample pom.xml for configuring the test automation detail.

Rick B

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A