Skip to content

Commit

Permalink
test index
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <divyaasm@amazon.com>
  • Loading branch information
Divyaasm committed Dec 7, 2023
1 parent 3b18011 commit b02afe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/uploadToS3.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* compatible open source license.
*/
void call(Map args = [:]) {
withCredentials([string(credentialsId: 'test-jenkins-artifact-bucket-name', variable: 'AWS_ACCOUNT_PUBLIC')]) {
withCredentials([string(credentialsId: 'test-jenkins-aws-account-public', variable: 'AWS_ACCOUNT_PUBLIC')]) {
withAWS(role: 'opensearch-bundle', roleAccount: "${AWS_ACCOUNT_PUBLIC}", duration: 900, roleSessionName: 'jenkins-session') {
s3Upload(file: args.sourcePath, bucket: args.bucket, path: args.path)
}
Expand Down

0 comments on commit b02afe6

Please sign in to comment.