From ea0dc7ab35ee934765bfff1997497be9dbba32c6 Mon Sep 17 00:00:00 2001 From: Ivan Fernandez Calvo Date: Mon, 29 Mar 2021 13:18:10 +0200 Subject: [PATCH] feat: use metricbeat to grab host metrics --- .ci/load/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/load/Jenkinsfile b/.ci/load/Jenkinsfile index b4b06e365d..ed6b4e9ede 100644 --- a/.ci/load/Jenkinsfile +++ b/.ci/load/Jenkinsfile @@ -197,8 +197,8 @@ pipeline { // force kill any remaining app instance to ensure app can start sh(script: ".ci/load/scripts/app.sh stopApp") - - script { + metricbeat(es_secret: 'secret/apm-team/ci/load-test-cloud-elastic'){ + script { echo "start application with JVM options '${params.jvm_options}'" def java_home = sh(script: ".ci/load/scripts/fetch_sdk.sh ${params.jvm_version}", returnStdout: true).trim() @@ -276,7 +276,7 @@ pipeline { withSecretVault(secret: 'secret/apm-team/ci/bandstand', user_var_name: 'APP_TOKEN_TYPE', pass_var_name: 'APP_TOKEN') { sh(script: ".ci/load/scripts/app.sh") } - + } } } post {