Skip to content

Commit

Permalink
Upgrade build-lib version in release pipeline to accomodate new chang…
Browse files Browse the repository at this point in the history
…es (#870)

Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored Sep 11, 2024
1 parent bd23559 commit aceb3df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jenkins/release.JenkinsFile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib = library(identifier: 'jenkins@1.1.1', retriever: modernSCM([
lib = library(identifier: 'jenkins@6.9.0', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
]))
Expand All @@ -7,5 +7,7 @@ standardReleasePipelineWithGenericTrigger(
tokenIdCredential: 'jenkins-opensearch-js-generic-webhook-token',
causeString: 'A tag was cut on opensearch-project/opensearch-js repository causing this workflow to run',
publishRelease: true) {
publishToNpm(repository: 'https://github.com/opensearch-project/opensearch-js', tag: "$tag")
publishToNpm(
publicationType: 'github'
)
}

0 comments on commit aceb3df

Please sign in to comment.