From 0381f99f6ff171c802a3fa662523bc777f89edd8 Mon Sep 17 00:00:00 2001 From: ishu599 <40069666+ishu599@users.noreply.github.com> Date: Thu, 4 Jun 2026 23:01:34 +0530 Subject: [PATCH] Update buildspec.yaml --- DevOps-Project-23/Swiggy_clone/buildspec.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/DevOps-Project-23/Swiggy_clone/buildspec.yaml b/DevOps-Project-23/Swiggy_clone/buildspec.yaml index f86d76d7..4dc5bec0 100644 --- a/DevOps-Project-23/Swiggy_clone/buildspec.yaml +++ b/DevOps-Project-23/Swiggy_clone/buildspec.yaml @@ -39,7 +39,7 @@ phases: # post_build: # commands: # - echo "Performing Trivy image scan after building the image..." - # - aws ses send-email --from "madithati123@gmail.com" --to "madithatisreedhar123@gmail.com" --subject "CodeBuild Status: $CODEBUILD_BUILD_ID" --text "Build status: $CODEBUILD_BUILD_STATUS" --region "ap-south-1" + # - aws ses send-email --from "ishuraghuvinder@gmail.com" --to "madithatisreedhar123@gmail.com" --subject "CodeBuild Status: $CODEBUILD_BUILD_ID" --text "Build status: $CODEBUILD_BUILD_STATUS" --region "ap-south-1" # # - trivy image "$DOCKER_REGISTRY_USERNAME/swiggy:latest" >> trivyimage.txt # # - echo "Running OWASP Dependency-Check scan..." @@ -48,19 +48,20 @@ phases: # # - echo "Build completed successfully!" # # - echo "Running SonarQube analysis result" # # - sonar-scanner -Dsonar.projectKey=swiggy -Dsonar.sources=. -Dsonar.host.url=http://65.1.1.149:9000/ - # #- aws ses send-email --from "madithati123@gmail.com" --to "madithatisreedhar123@gmail.com" --subject "CodeBuild Status: $CODEBUILD_BUILD_ID" --text "Build status: $CODEBUILD_BUILD_STATUS" --region "ap-south-1" + # #- aws ses send-email --from "ishuraghuvinder@gmail.com" --to "madithatisreedhar123@gmail.com" --subject "CodeBuild Status: $CODEBUILD_BUILD_ID" --text "Build status: $CODEBUILD_BUILD_STATUS" --region "ap-south-1" # # Update with your preferred AWS region post_build: commands: - - aws ses send-email \ - --from "madithati123@gmail.com" \ - --to "madithati123@gmail.com" \ + - | + aws ses send-email \ + --from "ishuraghuvinder@gmail.com" \ + --to "ishuraghuvinder@gmail.com" \ --subject "CodeBuild Status: $CODEBUILD_BUILD_ID" \ --text "Build status: $CODEBUILD_BUILD_STATUS" \ - --region "us-east-1" # Update with your preferred AWS region + --region "eu-north-1" artifacts: files: - - appspec.yaml \ No newline at end of file + - appspec.yaml