JK
This commit is contained in:
parent
fa4dadc8ba
commit
a9b837a962
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -24,6 +24,14 @@ 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 {
|
||||
checkout([$class: 'GitSCM',
|
||||
@ -33,6 +41,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Install prerequisites') {
|
||||
steps {
|
||||
sh '''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user