diff --git a/jenkins/release.jenkinsFile b/jenkins/release.jenkinsFile index fd391a6..c7b328e 100644 --- a/jenkins/release.jenkinsFile +++ b/jenkins/release.jenkinsFile @@ -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 + ) }