mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
4282876274
commit
dfd49a6fdf
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -79,7 +79,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
echo 'Upload to S3'
|
echo 'Upload to S3'
|
||||||
dir("${env.WORKSPACE}") {
|
dir("${env.WORKSPACE}") {
|
||||||
sh 'zip -r deploy.zip ./deploy appspec.yaml'
|
sh 'zip -r deploy.zip ./deploy appspec.yml'
|
||||||
withAWS(region:"${REGION}", credentials: "${AWS_CREDENTIAL_NAME}"){
|
withAWS(region:"${REGION}", credentials: "${AWS_CREDENTIAL_NAME}"){
|
||||||
s3Upload(file:"deploy.zip", bucket:"std01-codedeploy-bucket")
|
s3Upload(file:"deploy.zip", bucket:"std01-codedeploy-bucket")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue