Perform a shallow clone check on repos being used to generate version numbers
This commit is contained in:
parent
e7b86d9522
commit
b6aa653aeb
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ def boolean isShallowClonedRepo(String gitrootpath) {
|
|||
else {
|
||||
isshallowclone = bat(returnStdout: true, script: "@git rev-parse --is-shallow-repository").trim().toBoolean()
|
||||
}
|
||||
echo "Repo at ${gitrootpath} is shallow cloned: Change count: ${isshallowclone}"
|
||||
echo "Repo at ${gitrootpath} is shallow cloned: ${isshallowclone}"
|
||||
}
|
||||
return isshallowclone
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue