Update Jenkinsfile

This commit is contained in:
s4616 2023-07-10 19:49:30 +09:00 committed by GitHub
parent a21984f065
commit 3f7af908ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
Jenkinsfile vendored
View file

@ -60,7 +60,12 @@ pipeline {
}
stage('Upload to S3') {
steps {
echo "Upload to S3"
echo "Upload to S3"
dir("${env.WORKSPACE}") {
sh 'zip -r deploy-1.0.zip ./script appspec.yml'
sh 'aws s3 cp --region ap-northeast-2 --acl private ./deploy-1.0.zip s3://aws00-codedeploy'
sh 'rm -rf ./deploy-1.0.zip'
}
}
}