JK
This commit is contained in:
parent
a9b837a962
commit
5b0a74c614
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -25,12 +25,7 @@ pipeline {
|
||||
stages {
|
||||
|
||||
|
||||
withSonarQubeEnv('SonarQube Health Check') {
|
||||
sh '''
|
||||
curl -sf "$SONAR_HOST_URL/api/system/health" \
|
||||
|| { echo "Cannot reach SonarQube at $SONAR_HOST_URL"; exit 1; }
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
@ -41,6 +36,13 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
withSonarQubeEnv('SonarQube Health Check') {
|
||||
sh '''
|
||||
curl -sf "$SONAR_HOST_URL/api/system/health" \
|
||||
|| { echo "Cannot reach SonarQube at $SONAR_HOST_URL"; exit 1; }
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
stage('Install prerequisites') {
|
||||
steps {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user