automated terminal push

This commit is contained in:
lenape
2025-07-12 09:30:51 +00:00
parent ccaedec0b4
commit 790e8e65f7

14
Jenkinsfile vendored
View File

@@ -32,8 +32,16 @@ pipeline {
} }
stage('SonarQube Scan') { stage('SonarQube Scan') {
steps { steps {
withSonarQubeEnv('SonarQube') { script {
sh "sonar-scanner -Dsonar.projectKey=nvhi-atsila-microservice -Dsonar.sources=." // Resolve the SonarQube Scanner installation
def scannerHome = tool 'SonarQubeScanner'
withSonarQubeEnv('SonarQube') {
sh """
${scannerHome}/bin/sonar-scanner \
-Dsonar.projectKey=nvhi-atsila-microservice \
-Dsonar.sources=.
"""
}
} }
} }
} }
@@ -110,4 +118,4 @@ pipeline {
} }
} }
} }
} }