Skip to content

Commit

Permalink
Add distribution build parameter to integ test notification workflow (#…
Browse files Browse the repository at this point in the history
…5124)

Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored Oct 22, 2024
1 parent d30ba58 commit 180170e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions jenkins/integ-test-notification.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ pipeline {
}
triggers {
parameterizedCron('''
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
Expand All @@ -41,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') {
Expand All @@ -51,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}"
)
}
}
Expand Down

0 comments on commit 180170e

Please sign in to comment.