From 7a43cd86490d84327a25f3aa8855413978e000a2 Mon Sep 17 00:00:00 2001 From: ahmedgmansour <60443603+ahmedgmansour@users.noreply.github.com> Date: Thu, 1 Jun 2023 12:55:46 +0300 Subject: [PATCH] Update Jenkinsfile-2 --- Jenkinsfile-2 | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile-2 b/Jenkinsfile-2 index cf293943..37dbafc4 100644 --- a/Jenkinsfile-2 +++ b/Jenkinsfile-2 @@ -6,17 +6,10 @@ pipeline { stages { stage('Scan') { steps { - withSonarQubeEnv(installationName: 'sq1') { + withSonarQubeEnv(installationName: 'SonarQube') { sh './mvnw clean org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar' } } } - stage("Quality Gate") { - steps { - timeout(time: 2, unit: 'MINUTES') { - waitForQualityGate abortPipeline: true - } - } - } } -} \ No newline at end of file +}