formation 3 лет назад
Родитель
Сommit
9fd42ba789
1 измененных файлов с 2 добавлено и 15 удалено
  1. 2 15
      Jenkinsfile

+ 2 - 15
Jenkinsfile

@@ -137,27 +137,14 @@ node{
 	// }
     stage('SonarQube analysis') 
 		{
-            steps {
-        script {
 			def scannerHome = tool 'SonarQube Scanner 2.8';
 			withSonarQubeEnv('SonarQube') 
 			{ 
 			// If you have configured more than one global server connection, you can specify its name
-			sh "${scannerHome}/bin/sonar-scanner  -Dsonar.host.url=https://sonarqube.foodgame.fr -Dsonar.login=sqp_09ee9072c917af8212864baf0f75c950afc14c64"
+			sh "${scannerHome}/bin/sonar-scanner -Dsonar.host.url=https://sonarqube.foodgame.fr -Dsonar.login=sqp_09ee9072c917af8212864baf0f75c950afc14c64"
 			}
-        }
 		}
-	stage("Quality gate") {
-      steps {
-        script {
-          def qualitygate = waitForQualityGate()
-          sleep(10)
-          if (qualitygate.status != "OK") {
-            waitForQualityGate abortPipeline: true
-          }
-        }
-      }
-    }
+	
 
     stage('Build Docker MEAN Stack(PreProduction Deployment)') 
     {