From 9791d541ded1a0a5132fb2af2537ea65d8688709 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 14 Aug 2026 13:37:21 +0200 Subject: [PATCH] fix jenkins checkout: skip default full checkout, use shallow clone --- platform/Jenkinsfile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/platform/Jenkinsfile b/platform/Jenkinsfile index 86e88e8..16bbb02 100644 --- a/platform/Jenkinsfile +++ b/platform/Jenkinsfile @@ -7,10 +7,25 @@ pipeline { } } + options { + skipDefaultCheckout() + } + stages { stage('Checkout') { 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 + ]] + ]) } }