ADD SonarQube

This commit is contained in:
2026-06-10 17:06:03 +01:00
parent 4e39130210
commit ec53903726

13
platform/Jenkinsfile vendored
View File

@@ -18,6 +18,19 @@ pipeline {
} }
} }
stage('SonarQube Analysis') {
steps {
withSonarQubeEnv('sonarqube') {
sh '''
sonar-scanner \
-Dsonar.projectKey=management-platform \
-Dsonar.sources=platform \
-Dsonar.python.version=3
'''
}
}
}
stage('Deploy to Server 1') { stage('Deploy to Server 1') {
steps { steps {
sh ''' sh '''