diff --git a/Jenkinsfile b/Jenkinsfile index c528507c7fc810566be2349752ae48388a4de5bb..ef2a9965b4e78c20fa14281e72cf74a2a292d0c2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,9 +23,13 @@ pipeline { stage('Evaluate') { steps { milestone 1 + junit(testResults: 'target/test-results/test/**', healthScaleFactor: 100) + jacoco(execPattern: 'target/jacoco/test.exec', inclusionPattern: '**/*.class', classPattern: 'target/classes', sourcePattern: 'src/main/java', sourceInclusionPattern: '**/*.java') + withSonarQubeEnv('SonarQube Production') { sh "mvn -Dsonar.projectName=GitSearch -Dsonar.projectKey=GITSEARCH jacoco:report sonar:sonar" } + } } }