Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add distribution build parameter to integ test notification workflow #5124

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading