fix jenkins checkout: skip default full checkout, use shallow clone

This commit is contained in:
root
2026-08-14 13:37:21 +02:00
parent a284269574
commit 9791d541de

17
platform/Jenkinsfile vendored
View File

@@ -7,10 +7,25 @@ pipeline {
} }
} }
options {
skipDefaultCheckout()
}
stages { stages {
stage('Checkout') { stage('Checkout') {
steps { steps {
echo '✅ Code checked out from gitea' checkout([
$class: 'GitSCM',
branches: scm.branches,
userRemoteConfigs: scm.userRemoteConfigs,
extensions: [[
$class: 'CloneOption',
shallow: true,
depth: 1,
noTags: true,
timeout: 20
]]
])
} }
} }