automated terminal push

This commit is contained in:
lenape committed 2025-07-12 09:30:51 +00:00
1 parent ccaedec0b4
commit 790e8e65f7
1 file changed
+11 -3
Vendored
+11 -3
View File
@@ -32,8 +32,16 @@ pipeline {
}
stage('SonarQube Scan') {
steps {
withSonarQubeEnv('SonarQube') {
sh "sonar-scanner -Dsonar.projectKey=nvhi-atsila-microservice -Dsonar.sources=."
script {
// 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 {
}
}
}
}
}