fix jenkinsfile structure, add retry(5) to checkout
This commit is contained in:
3
platform/Jenkinsfile
vendored
3
platform/Jenkinsfile
vendored
@@ -11,6 +11,7 @@ pipeline {
|
||||
skipDefaultCheckout()
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
retry(5) {
|
||||
@@ -91,7 +92,7 @@ pipeline {
|
||||
echo '✅ Pipeline succeeded — build + Sonar passed, deployed to k8s'
|
||||
}
|
||||
failure {
|
||||
echo '❌ Pipeline failed check logs'
|
||||
echo '❌ Pipeline failed — check logs'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user