automated terminal push

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

10
Jenkinsfile vendored
View File

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