Skip to content
Snippets Groups Projects
Commit 40b8b4e6 authored by tom.ryser's avatar tom.ryser :carousel_horse:
Browse files

Add Jenkinsfile for sonar

parent 1a537a56
No related branches found
No related tags found
No related merge requests found
node {
stage('SCM') {
checkout scm
}
stage('SonarQube Analysis') {
def mvn = tool 'Default Maven';
withSonarQubeEnv() {
sh "${mvn}/bin/mvn clean verify sonar:sonar -Dsonar.projectKey=benjamin.anthonio_qcm-patiques-metiers_31e2fba8-e805-4d6e-a585-f2bbee106cab -Dsonar.projectName='QCM Pratiques métiers'"
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment