Clone depth 1 is causing issues during release to git
This commit is contained in:
parent
4b6c3aff23
commit
628fe40745
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ def checkoutreleaserepo(buildmeta, String checkoutfolder) {
|
|||
// Get the latest head revision of the release repo without checking out working copy; Check out to a folder unique to component; Extract any meta
|
||||
def previousreleasemeta = buildmeta.getNewMetaObject(this)
|
||||
dir(releaserepofolder) {
|
||||
sh("git clone --depth 1 ${releaserepo} ${checkoutfolder}")
|
||||
sh("git clone ${releaserepo} ${checkoutfolder}")
|
||||
}
|
||||
previousreleasemeta = getpreviousreleasemeta(buildmeta, checkoutfolder)
|
||||
dir(checkoutfolder) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue