From 7578a8f7848e3311f32f59ef6f286fcbd666d1c5 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Tue, 15 Sep 2026 15:40:41 +0200 Subject: [PATCH] Tryout of another checkout --- Jenkinsfile | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a0fb6dc..0cd4497 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,36 +4,44 @@ pipeline { agent { label 'rust_no_docker' } - options { disableConcurrentBuilds() } + options { + disableConcurrentBuilds() + skipDefaultCheckout(true) + } environment { CARGO_TERM_COLOR = 'always' - CI_ARTIFACT_DIR = '.ci-artifacts' - - // Reserved for future report publication. - // DEPLOY_DIR = '/mnt/books/Reports' - - // Reserved for future generated diagnostic/report metadata. - // DIAGNOSTICS_AUTHOR = 'Beffroi' } stages { stage('Checkout') { steps { - checkout scm + checkout([ + $class: 'GitSCM', + branches: scm.branches, + extensions: [ + [$class: 'SubmoduleOption', + disableSubmodules: false, + parentCredentials: true, + recursiveSubmodules: true, + reference: '', + shallow: false, + trackingSubmodules: false + ] + ], + userRemoteConfigs: scm.userRemoteConfigs + ]) sh ''' set -eu - echo "Synchronizing Beffroi Reporting workspace..." - - git submodule sync --recursive - git submodule update --init --recursive + echo + echo "Submodules:" + git submodule status --recursive ''' } } - stage('Validate Workspace') { steps { sh '''