ADD SonarQube
This commit is contained in:
4
platform/Jenkinsfile
vendored
4
platform/Jenkinsfile
vendored
@@ -22,14 +22,14 @@ pipeline {
|
||||
steps {
|
||||
withSonarQubeEnv('sonarqube') {
|
||||
sh '''
|
||||
sonar-scanner \
|
||||
${SONAR_SCANNER_HOME}/bin/sonar-scanner \
|
||||
-Dsonar.projectKey=management-platform \
|
||||
-Dsonar.sources=platform \
|
||||
-Dsonar.python.version=3
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Deploy to Server 1') {
|
||||
steps {
|
||||
|
||||
Reference in New Issue
Block a user