From 4ce23f826a4be0cd56be4a84d70c44f198aea44e Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 27 May 2025 12:38:32 +0530 Subject: [PATCH] sonar devlop --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9ff9031e0..03bb96a5b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,10 +20,10 @@ pipeline { stage ("CodeScaning"){ environment { SONAR_HOME = tool 'sonar-scan' - } + } steps{ withSonarQubeEnv('SonarServer') { - sh '''$SCANNER_HOME/bin/sonar-scanner \ + sh '''$SONAR_HOME/bin/sonar-scanner \ -Dsonar.projectKey=myPETC \ -Dsonar.projectName=mypetclinc \ -Dsonar.sources=. \