mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-07 19:01:11 +00:00
add script
This commit is contained in:
parent
fea8dc706e
commit
916cb41f87
1 changed files with 5 additions and 2 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
|
@ -74,12 +74,15 @@ pipeline {
|
|||
steps {
|
||||
echo 'Waiting for SonarQube quality gate result...'
|
||||
timeout(time: 10, unit: 'MINUTES') {
|
||||
def qg = waitForQualityGate abortPipeline: true
|
||||
echo "Quality gate status: ${qg.status}"
|
||||
script {
|
||||
def qg = waitForQualityGate abortPipeline: true
|
||||
echo "Quality gate status: ${qg.status}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Code Quality') {
|
||||
steps {
|
||||
echo 'Running Checkstyle analysis...'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue