Compare commits

...

2 Commits

View File

@@ -14,6 +14,7 @@ pipeline {
stages {
stage('Checkout') {
steps {
retry(5) {
checkout([
$class: 'GitSCM',
branches: scm.branches,
@@ -23,11 +24,12 @@ pipeline {
shallow: true,
depth: 1,
noTags: true,
timeout: 20
timeout: 30
]]
])
}
}
}
stage('Build Docker Image') {
steps {
@@ -90,7 +92,7 @@ pipeline {
echo '✅ Pipeline succeeded — build + Sonar passed, deployed to k8s'
}
failure {
echo '❌ Pipeline failed check logs'
echo '❌ Pipeline failed check logs'
}
}
}