JK
This commit is contained in:
parent
a9b837a962
commit
5b0a74c614
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -25,12 +25,7 @@ pipeline {
|
|||||||
stages {
|
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') {
|
stage('Checkout') {
|
||||||
steps {
|
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') {
|
stage('Install prerequisites') {
|
||||||
steps {
|
steps {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user