Skip to content

Commit

Permalink
Update jenkins file to allow auto-publish (#907)
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
  • Loading branch information
gaiksaya authored Jul 25, 2023
1 parent 2af7ee8 commit 78c01ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jenkins/release.jenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ standardReleasePipelineWithGenericTrigger(
tokenIdCredential: 'jenkins-opensearch-sdk-java-generic-webhook-token',
causeString: 'A tag was cut on opensearch-project/opensearch-sdk-java repository causing this workflow to run',
downloadReleaseAsset: true,
publishRelease: false) {
publishRelease: true) {
publishToMaven(
signingArtifactsPath: "$WORKSPACE/localRepo/",
mavenArtifactsPath: "$WORKSPACE/localRepo/",
autoPublish: false
autoPublish: true
)
}
}

0 comments on commit 78c01ce

Please sign in to comment.