We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7bbc9a commit 12c7d53Copy full SHA for 12c7d53
1 file changed
Jenkinsfile
@@ -11,20 +11,9 @@ node
11
stage ('Sonarqube ')
12
{
13
withSonarQubeEnv('jenkins_sonarqube') {
14
- sh "mvn sonar:sonar"
+ sh "mvn verify sonar:sonar"
15
}
16
- }
17
- stage("Quality Gate Check")
18
- {
19
- timeout(time: 1, unit: 'HOURS')
20
21
- def qg = waitForQualityGate()
22
- if (qg.status != 'OK')
23
-{
24
- error "Pipeline aborted due to quality gate failure: ${qg.status}"
25
26
27
+ }
28
try
29
30
stage ('Build Package')
0 commit comments