diff --git a/jenkinsfile b/jenkinsfile index 5c2e60de4..d921fabfa 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -9,21 +9,21 @@ node { // ** in the global configuration. mvnHome = tool 'M3' } - stage('Sonar Quality Analysis'){ + //stage('Sonar Quality Analysis'){ //Run the sonar scan - withSonarQubeEnv('sonarqube'){ - sh 'mvn clean package sonar:sonar' - } - } - stage('Sonar Quality Gate') { - timeout(time: 2, unit: 'MINUTES') { - def qg = waitForQualityGate() - if (qg.status != 'OK') { - currentBuild.status='FAILURE' - error "Pipeline aborted due to quality gate failure: ${qg.status}" - } - } - } + //withSonarQubeEnv('sonarqube'){ + //sh 'mvn clean package sonar:sonar' + //} + //} + //stage('Sonar Quality Gate') { + //timeout(time: 2, unit: 'MINUTES') { + //def qg = waitForQualityGate() + //if (qg.status != 'OK') { + //currentBuild.status='FAILURE' + //error "Pipeline aborted due to quality gate failure: ${qg.status}" + //} + //} + //} stage('Build') { // Run the maven build withEnv(["MVN_HOME=$mvnHome"]) {