Try adding extensions

This commit is contained in:
Jim Nicholson 2024-02-01 14:40:30 -08:00
parent 477bdf6131
commit f885ca2978

View File

@ -6,7 +6,8 @@ String call(Map config = [:]) {
] ]
Map runConfig = defaults + config Map runConfig = defaults + config
checkout scm checkout scmGit(extensions: [submodule(recursiveSubmodules: true, reference: ''),
cloneOption(noTags: false, reference: '', shallow: false)])
gitTag = sh( gitTag = sh(
script: "git describe --tags --always --dirty=${runConfig.dirtyFlag}", script: "git describe --tags --always --dirty=${runConfig.dirtyFlag}",