From e6a8ad026d6101b0374e563c938022338edd2e45 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 20 Dec 2021 20:39:31 +0000 Subject: [PATCH] ci: use withAPMEnv (#1917) --- .ci/Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index 731ce76853..fbf1443cae 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -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,