From 2827215fcf824f73f41486685be02fac6f7f94e4 Mon Sep 17 00:00:00 2001 From: Jean Schmitz Date: Wed, 19 Jun 2024 12:07:02 +0200 Subject: [PATCH] Create Jeankinsfile Signed-off-by: Jean Schmitz --- Jeankinsfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Jeankinsfile 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'" + } + } +}