Skip to content

Commit

Permalink
ci: use withAPMEnv (elastic#1917)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored and mdelapenya committed Feb 28, 2022
1 parent 06778b3 commit 0037c9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,11 @@ def generateFunctionalTestStep(Map args = [:]){
unstash 'sourceEnvModified'
withEnv(envContext) {
// This step will help to send the APM traces to the
// APM service defined by the Otel Jenkins plugin.
// withOtelEnv is the one that uses the APM service defined by the Otel Jenkins plugin.
// withAPMEnv uses Vault to prepare the context.
// IMPORTANT: withAPMEnv is now the one in used since withOtelEnv uses a specific Opentelemetry Collector at the moment.
// TODO: This will need to be integrated into the provisioned VMs
withOtelEnv() {
withAPMEnv() {
// Start node, capture ip address
ansible("${env.WORKSPACE}",
runId,
Expand Down

0 comments on commit 0037c9a

Please sign in to comment.