Skip to content

Commit 112a13c

Browse files
authored
test: fix running benchmarks (#2693)
The change away from `NODE_VERSION` in #2627 surprisingly broke running the benchmarks. `NODE_VERSION` is used by nvm and exporting it (?) makes a difference?
1 parent 8b6c11a commit 112a13c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/Jenkinsfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ pipeline {
383383
environment {
384384
HOME = "${env.WORKSPACE}"
385385
RESULT_FILE = 'apm-agent-benchmark-results.json'
386-
BENCH_NODE_VERSION = '14'
386+
NODE_VERSION = '14'
387387
}
388388
when {
389389
beforeAgent true
@@ -402,7 +402,7 @@ pipeline {
402402
deleteDir()
403403
unstash 'source'
404404
dir(BASE_DIR){
405-
sh '.ci/scripts/run-benchmarks.sh "${RESULT_FILE}" "${BENCH_NODE_VERSION}"'
405+
sh '.ci/scripts/run-benchmarks.sh "${RESULT_FILE}" "${NODE_VERSION}"'
406406
}
407407
}
408408
}

0 commit comments

Comments
 (0)