14 Jul 2021
12:53 PM
- last edited on
18 May 2023
01:33 PM
by
Michal_Gebacki
I am trying to integrate Jenkins with Dynatrace per https://github.com/jenkinsci/performance-signature...
and followed. I have created the step configuration by using pipeline syntax as per docs.
The createDynatraceDeploymentEvent pipeline step creates a deployment event in Dynatrace. The set of rules defining Dynatrace entities to be associated with the event. You can specify tags to dynamically match Dynatrace entities or IDs of specific entities.
Here is the script :
stage('createDynatraceDeploymentEvent') {
steps {
createDynatraceDeploymentEvent(entityIds: [[$class: 'Host', entityId: 'HOST-xxxxxx'], [$class: 'Host', entityId: 'HOST-xxxxxxxxxxx']], envId: 'Dynatrace B2C S2 Environment', tagMatchRules: [[meTypes: [[meType: 'HOST']], tags: [[context: 'CONTEXTLESS', key: '', value: 'frontend']]]])
}
}
stage('recordDynatraceSession') {
steps {
recordDynatraceSession(entityIds: [[$class: 'Host', entityId: 'HOST-xxxxxxxx']], envId: 'Dynatrace B2C S2 Environment', testCase: 'loadtest')
}
}
Build is stuck and not moving to the second step.
Please advise
Hi, does anyone have some insights what would cause issue above?