branch-de-la-branch #1

Closed
guillemhs wants to merge 8 commits from branch-de-la-branch into master
Showing only changes of commit ec8b84b630 - Show all commits

6
Jenkinsfile vendored
View File

@@ -23,6 +23,12 @@ pipeline {
stage ('Deployment Stage') { stage ('Deployment Stage') {
steps { steps {
withCredentials([usernamePassword(credentialsId: 's3-bucket', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
sh 'export AWS_ACCESS_KEY_ID=USERNAME'
sh 'export AWS_SECRET_ACCESS_KEY=$PASSWORD'
sh 'export AWS_DEFAULT_REGION=ap-south-1'
}
sh 'ls -lrt' sh 'ls -lrt'
sh '/usr/local/bin/aws s3 ls' sh '/usr/local/bin/aws s3 ls'
} }