Compare commits
2 Commits
9791d541de
...
b4308b7d15
| Author | SHA1 | Date | |
|---|---|---|---|
| b4308b7d15 | |||
| 8f6add243f |
28
platform/Jenkinsfile
vendored
28
platform/Jenkinsfile
vendored
@@ -14,18 +14,20 @@ pipeline {
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: scm.branches,
|
||||
userRemoteConfigs: scm.userRemoteConfigs,
|
||||
extensions: [[
|
||||
$class: 'CloneOption',
|
||||
shallow: true,
|
||||
depth: 1,
|
||||
noTags: true,
|
||||
timeout: 20
|
||||
]]
|
||||
])
|
||||
retry(5) {
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: scm.branches,
|
||||
userRemoteConfigs: scm.userRemoteConfigs,
|
||||
extensions: [[
|
||||
$class: 'CloneOption',
|
||||
shallow: true,
|
||||
depth: 1,
|
||||
noTags: true,
|
||||
timeout: 30
|
||||
]]
|
||||
])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user