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
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Oct 22, 2024
1 parent 552c72b commit 8146c94
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions jenkins/integ-test-notification.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') {
Expand All @@ -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}"
)
}
}
Expand Down

0 comments on commit 8146c94

Please sign in to comment.