From 1e6f36087252d2fb0aac43d6cd94f4e88dc39f15 Mon Sep 17 00:00:00 2001 From: lwj9812 <141805156+lwj9812@users.noreply.github.com> Date: Fri, 22 Mar 2024 12:09:27 +0900 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0e79940a0..9f7ecefa7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { AWS_CREDENTIAL_NAME = "AWSCredentials" REGION = "ap-northeast-2" - DOCKER_IMAGE_NAME="std00-spring-petclinic" + DOCKER_IMAGE_NAME="std01-spring-petclinic" ECR_REPOSITORY = "257307634175.dkr.ecr.ap-northeast-2.amazonaws.com" ECR_DOCKER_IMAGE = "${ECR_REPOSITORY}/${DOCKER_IMAGE_NAME}" } @@ -18,7 +18,7 @@ pipeline { stage('Git Clone') { steps { echo 'Git Clone' - git url: 'https://github.com/sjh4616/spring-petclinic.git', + git url: 'https://github.com/lwj9812/spring-petclinic.git', branch: 'efficient-webjars' } post { @@ -81,7 +81,7 @@ pipeline { dir("${env.WORKSPACE}") { sh 'zip -r deploy.zip ./deploy appspec.yaml' withAWS(region:"${REGION}", credentials: "${AWS_CREDENTIAL_NAME}"){ - s3Upload(file:"deploy.zip", bucket:"std00-codedeploy-bucket") + s3Upload(file:"deploy.zip", bucket:"std01-codedeploy-bucket") } sh 'rm -rf ./deploy.zip' }