From 9d51fd826b40ee75b511c639a111f043d1dda004 Mon Sep 17 00:00:00 2001 From: Swarnava Ghosh Date: Wed, 9 Jul 2025 14:02:09 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3b0ed71..72b7691 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,7 @@ pipeline { environment { SONAR_PROJECT_KEY = 'complete-cicd-02' SONAR_SCANNER_HOME = tool 'SonarQubeScanner' + DOCKER_HUB_REPO = 'swarnava75/complete-cicd-02' JOB_NAME_NOW = 'cicd02' ECR_REPO = 'iquantawsrepo' IMAGE_TAG = 'latest' @@ -57,8 +58,8 @@ pipeline { stage('Login to ECR'){ steps { sh """ - aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 358966077154.dkr.ecr.us-east-1.amazonaws.com - """ +aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 367597235467.dkr.ecr.us-east-1.amazonaws.com + """ } } stage('Push Image to ECR'){ @@ -69,4 +70,4 @@ pipeline { } } } -} \ No newline at end of file +}