14 Jul 2021
04:53 AM
- last edited on
14 Jul 2021
05:00 AM
by
MaciejNeumann
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 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?