From b01e1d5fbcc3c4fa98b27765668dd9adc038dfaa Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Thu, 1 Feb 2024 14:49:08 -0800 Subject: [PATCH] Fix checkout --- vars/checkoutStep.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vars/checkoutStep.groovy b/vars/checkoutStep.groovy index 2a74c40..e991991 100644 --- a/vars/checkoutStep.groovy +++ b/vars/checkoutStep.groovy @@ -6,8 +6,7 @@ String call(Map config = [:]) { ] Map runConfig = defaults + config - checkout scmGit(extensions: [submodule(recursiveSubmodules: true, reference: ''), - cloneOption(noTags: false, reference: '', shallow: false)]) + checkout scm gitTag = sh( script: "git describe --tags --always --dirty=${runConfig.dirtyFlag}",