From 8146c94ae74efc706bc46e21da55f6b4aec9fb5b Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Tue, 22 Oct 2024 13:05:50 -0700 Subject: [PATCH] Add distribution build parameter to integ test notification workflow Signed-off-by: Sayali Gaikawad --- jenkins/integ-test-notification.jenkinsfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/jenkins/integ-test-notification.jenkinsfile b/jenkins/integ-test-notification.jenkinsfile index c101d15f9d..942b325110 100644 --- a/jenkins/integ-test-notification.jenkinsfile +++ b/jenkins/integ-test-notification.jenkinsfile @@ -28,9 +28,6 @@ pipeline { } triggers { parameterizedCron(''' - H */6 * * * %INPUT_MANIFEST=2.1000.1000/opensearch-dashboards-2.1000.1000.yml - H */6 * * * %INPUT_MANIFEST=2.1000.1000/opensearch-2.1000.1000.yml - H */6 * * * %INPUT_MANIFEST=2.17.2/opensearch-2.17.2.yml H */6 * * * %INPUT_MANIFEST=2.18.0/opensearch-2.18.0.yml H */6 * * * %INPUT_MANIFEST=3.0.0/opensearch-3.0.0.yml H */6 * * * %INPUT_MANIFEST=2.18.0/opensearch-dashboards-2.18.0.yml @@ -43,6 +40,11 @@ pipeline { description: 'Input manifest under the manifests folder, e.g. 2.0.0/opensearch-2.0.0.yml.', trim: true ) + string( + name: 'DISTRIBUTION_NUMBER', + description: 'Ditribution number of OpenSearch/OpenSearch-Dashboards builds that was used to run the integration test. eg:10345', + trim: true + ) } stages { stage('Update integ tests failure issues') { @@ -53,7 +55,8 @@ pipeline { error("Failed to start the workflow. Input manifest was not provided or not found in manifests/${params.INPUT_MANIFEST}.") } updateIntegTestFailureIssues( - inputManifestPath: "manifests/${INPUT_MANIFEST}" + inputManifestPath: "manifests/${INPUT_MANIFEST}", + distributionBuildNumber: "${DISTRIBUTION_NUMBER}" ) } }