Fix checkout
This commit is contained in:
parent
f885ca2978
commit
b01e1d5fbc
@ -6,8 +6,7 @@ String call(Map config = [:]) {
|
|||||||
]
|
]
|
||||||
Map runConfig = defaults + config
|
Map runConfig = defaults + config
|
||||||
|
|
||||||
checkout scmGit(extensions: [submodule(recursiveSubmodules: true, reference: ''),
|
checkout scm
|
||||||
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