From fe911b62bd185e356f7e5587547be3ff81b17c4b Mon Sep 17 00:00:00 2001 From: Yadciel Date: Thu, 11 May 2023 19:51:16 +0200 Subject: [PATCH] SQ steps --- jenkinsfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/jenkinsfile b/jenkinsfile index 4c23923..e0c9068 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -25,12 +25,16 @@ pipeline { } } stage('SCM') { - checkout scm + steps { + checkout scm + } } stage('SonarQube Analysis') { - def scannerHome = tool 'SQ'; - withSonarQubeEnv() { - sh "${scannerHome}/bin/sonar-scanner" + steps { + def scannerHome = tool 'SQ'; + withSonarQubeEnv() { + sh "${scannerHome}/bin/sonar-scanner" + } } } }