Skip to content

Commit

Permalink
Publish OUI to npmjs using tarball (#662) (#667)
Browse files Browse the repository at this point in the history
* Publish OUI to npmjs using tarball



* Refactor



---------


(cherry picked from commit 87c7bf6)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 9c0ed86 commit 1c41a2e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions jenkins/release.JenkinsFile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
lib = library(identifier: 'jenkins@1.1.1', retriever: modernSCM([
lib = library(identifier: 'jenkins@3.0.0', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
]))

standardReleasePipelineWithGenericTrigger(
tokenIdCredential: 'jenkins-oui-generic-webhook-token',
causeString: 'A tag was cut on opensearch-project/oui repository causing this workflow to run',
downloadReleaseAsset: true,
publishRelease: true) {
publishToNpm(repository: 'https://github.com/opensearch-project/oui', tag: "$tag")
publishToNpm(
publicationType: 'artifact',
artifactPath: "${WORKSPACE}/oui/oui.tar.gz"
)
}

0 comments on commit 1c41a2e

Please sign in to comment.