From 8961f0ba1c7671f776dc7afc01f3040d9910d0b8 Mon Sep 17 00:00:00 2001 From: subodh Date: Thu, 12 Mar 2026 04:37:14 +0000 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bf4b140..a03b421 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { HARBOR = 'harbor.myriadcara.com' IMAGE = 'harbor.myriadcara.com/vaishnavi-ecommerce/backend' SONAR_PROJECT = 'ecommerce' - VERSION_FILE = '/var/jenkins_home/vaishnavi-backend-version.txt' + VERSION_FILE = '/home/jenkins/vaishnavi-backend-version.txt' // ✅ fixed path } stages { @@ -33,7 +33,7 @@ pipeline { stage('SonarQube Scan') { steps { - withSonarQubeEnv('SonarQube') { // 'SonarQube' must match Jenkins config name + withSonarQubeEnv('SonarQube') { withCredentials([string( credentialsId: 'sonarqube-token', variable: 'SONAR_TOKEN'