Try adding extensions
This commit is contained in:
parent
477bdf6131
commit
f885ca2978
@ -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}",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user