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 {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
checkout([
|
retry(5) {
|
||||||
$class: 'GitSCM',
|
checkout([
|
||||||
branches: scm.branches,
|
$class: 'GitSCM',
|
||||||
userRemoteConfigs: scm.userRemoteConfigs,
|
branches: scm.branches,
|
||||||
extensions: [[
|
userRemoteConfigs: scm.userRemoteConfigs,
|
||||||
$class: 'CloneOption',
|
extensions: [[
|
||||||
shallow: true,
|
$class: 'CloneOption',
|
||||||
depth: 1,
|
shallow: true,
|
||||||
noTags: true,
|
depth: 1,
|
||||||
timeout: 20
|
noTags: true,
|
||||||
]]
|
timeout: 30
|
||||||
])
|
]]
|
||||||
|
])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -90,7 +92,7 @@ pipeline {
|
|||||||
echo '✅ Pipeline succeeded — build + Sonar passed, deployed to k8s'
|
echo '✅ Pipeline succeeded — build + Sonar passed, deployed to k8s'
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
echo '❌ Pipeline failed check logs'
|
echo '❌ Pipeline failed — check logs'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user