28 Jan 2022 10:36 AM - last edited on 19 Oct 2022 01:12 PM by MaciejNeumann
Hello,
We are looking at integrating Dynatrace into our CI pipelines so that all build & deployment related events can be stored in Dynatrace. Is there a way to achieve this?
We use Jenkins as a CI tool today.
We have different phases in CI like unit testing, code quality scans, vulnerability scans etc. Can these information be passed in Dynatrace for dashboarding and detecting regressions between two builds ?
If possible, Please let me know which plugin is available and can be used.
Thank you,
Solved! Go to Solution.
28 Jan 2022 11:47 AM
Sure, you can use the Dynatrace Events API to send events from Jenkins to Dynatrace.
These can be Deployment events but also informational or error events from code quality or vulnerability scans.
You might also want to take a look keptn if you want to be able to integrate deeper into you application lifecycle.
28 Jan 2022 03:23 PM
Hello,
Thanks for the reply.
I was thinking more of a plugin than API. But will take a look at the Events API too.
I have not heard of keptn, but from the first look, it looks more as a quality-gate. Am I correct ?
I am looking for something simpler, where I can know from Dynatrace which deployments happened when and is there any regression observed ?
Regards,
31 Jan 2022 10:49 AM
Hi,
what about https://www.dynatrace.com/support/help/how-to-use-dynatrace/cloud-automation/release-monitoring and the integration of your issue tracker?
Regards,
Martin
31 Jan 2022 11:42 AM - edited 31 Jan 2022 11:43 AM
IIRC the Jenkins Plugins that did exist are currently no longer maintained.
But the API is not really harder to use then the plugin, the structure of the Events is pretty easy and there are many plugins to do the request from you Jenkins pipeline.
31 Jan 2022 12:22 PM
Hi @pmehta1906 ,
you could look at Dynatrace's release monitoring capabilities and connect this to your issue tracker as well.
Basically you would let Dynatrace know of your releases or versions by providing environment variables to processes you are starting. You can combine this with ingesting custom events to enrich that data even more.
kr