From 491d7e492be178de7352ee36ff38f04456c98a23 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Fri, 9 Aug 2024 13:56:09 -0700 Subject: [PATCH] fix parameter name in benchmark-pull-request job (#4935) Signed-off-by: Rishabh Singh --- jenkins/opensearch/benchmark-pull-request.jenkinsfile | 2 +- .../opensearch/benchmark-pull-request-generic.jenkinsfile.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/opensearch/benchmark-pull-request.jenkinsfile b/jenkins/opensearch/benchmark-pull-request.jenkinsfile index 1c9a6e1348..e222927ff0 100644 --- a/jenkins/opensearch/benchmark-pull-request.jenkinsfile +++ b/jenkins/opensearch/benchmark-pull-request.jenkinsfile @@ -295,7 +295,7 @@ pipeline { build job: 'benchmark-compare', parameters: [ string(name:'BASELINE_TEST_EXECUTION_ID', value: "${benchmarkTestIds.baseline}"), - string(name:'BASELINE_TEST_EXECUTION_ID', value: "${benchmarkTestIds.contender}"), + string(name:'CONTENDER_TEST_EXECUTION_ID', value: "${benchmarkTestIds.contender}"), string(name:'PULL_REQUEST_NUMBER', value: "${pull_request_number}"), string(name:'REPOSITORY', value: "${repository}") ], diff --git a/tests/jenkins/jenkinsjob-regression-files/opensearch/benchmark-pull-request-generic.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/opensearch/benchmark-pull-request-generic.jenkinsfile.txt index 45c6d78108..a4977c0a59 100644 --- a/tests/jenkins/jenkinsjob-regression-files/opensearch/benchmark-pull-request-generic.jenkinsfile.txt +++ b/tests/jenkins/jenkinsjob-regression-files/opensearch/benchmark-pull-request-generic.jenkinsfile.txt @@ -142,7 +142,7 @@ , returnStdout=true}) getCompareBenchmarkIds.echo(Latest test-execution-id: test-id) benchmark-pull-request.string({name=BASELINE_TEST_EXECUTION_ID, value=test-id}) - benchmark-pull-request.string({name=BASELINE_TEST_EXECUTION_ID, value=test-id}) + benchmark-pull-request.string({name=CONTENDER_TEST_EXECUTION_ID, value=test-id}) benchmark-pull-request.string({name=PULL_REQUEST_NUMBER, value=1234}) benchmark-pull-request.string({name=REPOSITORY, value=opensearch-project/OpenSearch}) benchmark-pull-request.build({job=benchmark-compare, parameters=[null, null, null, null], wait=false, propagate=false})