Commit b28bfa48 authored by Josh Steinberg's avatar Josh Steinberg

testing quality gate

parent f35ec245
...@@ -13,9 +13,10 @@ pipeline { ...@@ -13,9 +13,10 @@ pipeline {
} }
stage('Build') { stage('Build') {
steps { steps {
sh 'mvn -Dmaven.test.failure.ignore=true install' sh 'mvn -Dmaven.test.failure.ignore=false install'
} }
} }
stage('Sonarqube'){ stage('Sonarqube'){
steps{ steps{
withSonarQubeEnv('sonar'){ withSonarQubeEnv('sonar'){
...@@ -25,10 +26,9 @@ pipeline { ...@@ -25,10 +26,9 @@ pipeline {
} }
stage("Quality Gate"){ stage("Quality Gate"){
steps{ steps{
timeout(time: 1, unit: 'MINUTES'){
waitForQualityGate abortPipeline = true waitForQualityGate abortPipeline = true
} }
} }
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment