jenkins: separated git prune and git fetch tags
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
40d2f5ec14
commit
f8e353fa59
|
|
@ -116,7 +116,8 @@ def handle_submodules(versionParam) {
|
|||
}
|
||||
|
||||
def build_version(versionParam) {
|
||||
sh 'git fetch -t -p'
|
||||
sh 'git fetch -p'
|
||||
sh 'git fetch -t'
|
||||
def gitCmd = "git describe --tags"
|
||||
if(!isRelease(versionParam)) {
|
||||
gitCmd = "${gitCmd} --dirty"
|
||||
|
|
|
|||
Loading…
Reference in New Issue