Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Feb 28, 2025
1 parent ceb172c commit 2f5c20c
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions jenkins/release-workflows/release-chores.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* compatible open source license.
*/

lib = library(identifier: 'jenkins@add-another-chore', retriever: modernSCM([
lib = library(identifier: 'jenkins@release-owner', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/gaiksaya/opensearch-build-libraries.git',
]))
Expand All @@ -32,7 +32,7 @@ pipeline {
)
string(
name: 'RELEASE_CHORE',
description: "Required: What release chore you wanna do? e.g: 'add_rc_details_comment, check_release_issues'",
description: "Required: What release chore you wanna do? e.g: 'add_rc_details_comment, check_release_issues, release_owner_chores'",
trim: true
)
}
Expand Down Expand Up @@ -72,6 +72,20 @@ pipeline {
}
}
}
stage('Release Owners') {
when {
expression { params.RELEASE_CHORE == 'release_owner_chores' }
}
steps {
script {
checkNotifyAndAssignReleaseOwners(
inputManifest: [ "manifests/${params.RELEASE_VERSION}/opensearch-${params.RELEASE_VERSION}.yml",
"manifests/${params.RELEASE_VERSION}/opensearch-dashboards-${params.RELEASE_VERSION}.yml" ],
action: 'check'
)
}
}
}
}
post() {
always {
Expand Down

0 comments on commit 2f5c20c

Please sign in to comment.