Fix checkout
This commit is contained in:
parent
f885ca2978
commit
b01e1d5fbc
@ -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}",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user