Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
ci: use withAPMEnv (#1917) (#1935)
Browse files Browse the repository at this point in the history
(cherry picked from commit e6a8ad0)

Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
mergify[bot] and v1v authored Dec 21, 2021
1 parent fc1e24b commit 62a3837
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 62a3837

Please sign in to comment.