Update Jenkinsfile

This commit is contained in:
lwj9812 2024-03-22 11:55:08 +09:00 committed by GitHub
parent 455d1ac6b3
commit c16e255a41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
Jenkinsfile vendored
View file

@ -76,7 +76,7 @@ pipeline {
stage('Upload to S3'){
steps {
echo 'Upload to S3'
dir("$(env.WORKSPACE)"){
dir("${env.WORKSPACE}"){
sh 'zip -r deploy.zip ./deploy appspec.yaml'
withAWS(region:"${REGION}", credentials: "${AWS_CREDENTIAL_NAME}"){
s3Upload(file:"deploy.zip", bucket:"std01-codedeploy-bucket")