mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-02-21 11:58:37 -06:00
Adding sonar
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -8,12 +8,12 @@ pipeline {
|
||||
sh './minify'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build Jars') {
|
||||
steps {
|
||||
sh 'mvn clean install pmd:pmd checkstyle:checkstyle spotbugs:spotbugs $SONAR_MAVEN_GOAL'
|
||||
sh 'mvn clean install pmd:pmd checkstyle:checkstyle spotbugs:spotbugs'
|
||||
withSonarQubeEnv(credentialsId: 'c273ab1594d36799589bff7512b5cfcafff617b1', installationName: 'SonarQube') { // You can override the credential to be used
|
||||
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user