mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 00:35:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
a21984f065
commit
3f7af908ed
1 changed files with 6 additions and 1 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -60,7 +60,12 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Upload to S3') {
|
stage('Upload to S3') {
|
||||||
steps {
|
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'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue