Skip to content

Commit

Permalink
Added jenkins job to publish shadowJar to artifacts bucket
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
  • Loading branch information
GumpacG committed Jul 16, 2023
1 parent 4af84df commit 4bcbe80
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions jenkins/release.jenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,18 @@ standardReleasePipelineWithGenericTrigger(
mavenArtifactsPath: "$WORKSPACE/repository/",
autoPublish: true
)
publishToArtifactsProdBucket(
assumedRoleName: 'sql-jdbc-upload-role',
source: "$WORKSPACE/artifacts.tar.gz",
destination: "https://artifacts.opensearch.org/opensearch-clients/jdbc/opensearch-sql-jdbc-${tag}.tar.gz",
signingPlatform: 'windows',
sigOverwrite: true
)
publishToArtifactsProdBucket(
assumedRoleName: 'sql-jdbc-shadowJar-upload-role',
source: "$WORKSPACE/build/libs/opensearch-sql-jdbc-shadow-*.jar",
destination: "https://artifacts.opensearch.org/opensearch-clients/jdbc/opensearch-sql-jdbc-shadow-${tag}.jar",
signingPlatform: 'windows',
sigOverwrite: true
)
}

0 comments on commit 4bcbe80

Please sign in to comment.