Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand and gaiksaya committed Jun 20, 2023
1 parent 52fa5a4 commit 5621738
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions jenkins/release.jenkinsFile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib = library(identifier: 'jenkins@1.5.3', retriever: modernSCM([
lib = library(identifier: 'jenkins@4.2.2', retriever: modernSCM([
$class: 'GitSCMSource',
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
]))
Expand All @@ -8,9 +8,28 @@ standardReleasePipelineWithGenericTrigger(
causeString: 'A tag was cut on opensearch-project/sql-odbc repository causing this workflow to run',
downloadReleaseAsset: true,
publishRelease: true) {
publishToMaven(
signingArtifactsPath: "$WORKSPACE/repository/",
mavenArtifactsPath: "$WORKSPACE/repository/",
autoPublish: true
)
publishToArtifactsProdBucket(
assumedRoleName: 'sql-odbc-upload-role',
source: 'opensearch-sql-odbc-driver-32-bit-1.5.0.0-Windows.msi',
destination: 'opensearch-clients/odbc/opensearch-sql-odbc-driver-32-bit-1.5.0.0-Windows.msi',
signingPlatform: 'windows',
sigType: 'null',
sigOverwrite: true
)
publishToArtifactsProdBucket(
assumedRoleName: 'sql-odbc-upload-role',
source: 'opensearch-sql-odbc-driver-64-bit-1.5.0.0-Windows.msi',
destination: 'opensearch-clients/odbc/opensearch-sql-odbc-driver-64-bit-1.5.0.0-Windows.msi',
signingPlatform: 'windows',
sigType: 'null',
sigOverwrite: true
)
publishToArtifactsProdBucket(
assumedRoleName: 'sql-odbc-upload-role',
source: 'opensearch-sql-odbc-driver-64-bit-1.5.0.0-Darwin.pkg,
destination: 'opensearch-clients/odbc/opensearch-sql-odbc-driver-64-bit-1.5.0.0-Darwin.pkg',
signingPlatform: 'macos',
sigType: 'null',
sigOverwrite: true
)
}

0 comments on commit 5621738

Please sign in to comment.