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 Dec 20, 2021
1 parent 304c97f commit e6a8ad0
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 @@ -493,9 +493,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 e6a8ad0

Please sign in to comment.