From 8c6d81361829c2c311a9fb88a19a7be3ad55942b Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Tue, 10 Sep 2024 14:47:05 -0700 Subject: [PATCH] Upgrade build-lib version in release pipeline to accomodate new changes Signed-off-by: Sayali Gaikawad --- jenkins/release.JenkinsFile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jenkins/release.JenkinsFile b/jenkins/release.JenkinsFile index 4d9bc7a33..ecee8b662 100644 --- a/jenkins/release.JenkinsFile +++ b/jenkins/release.JenkinsFile @@ -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', ])) @@ -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' + ) }