Skip to content

Commit

Permalink
Create Jenkinsfile
Browse files Browse the repository at this point in the history
Signed-off-by: Jean Schmitz <[email protected]>
  • Loading branch information
jschm42 authored Jun 19, 2024
1 parent 2d92adf commit 1ac8642
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
node {
stage('SCM') {
checkout scm
}
stage('SonarQube Analysis') {
def mvn = tool 'Maven 3.9.8';
withSonarQubeEnv() {
sh "${mvn}/bin/mvn clean verify sonar:sonar -Dsonar.projectKey=TalkforgeAI -Dsonar.projectName='TalkforgeAI'"
}
}
}

0 comments on commit 1ac8642

Please sign in to comment.