diff --git a/Jeankinsfile b/Jeankinsfile new file mode 100644 index 00000000..ce4fe457 --- /dev/null +++ b/Jeankinsfile @@ -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'" + } + } +}