Skip to content

Commit 807cfbc

Browse files
committed
Removes --unshallow from git fetch since it is unnecessary
1 parent e2d95ff commit 807cfbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ spec:
212212
213213
git config --local credential.helper "!f() { echo username=\\$GIT_AUTH_USER; echo password=\\$GIT_AUTH_PWD; }; f"
214214
215-
git fetch --unshallow
215+
git fetch origin ${BRANCH}
216216
git fetch --tags
217217
git checkout ${BRANCH}
218218
git branch --set-upstream-to=origin/${BRANCH} ${BRANCH}

0 commit comments

Comments
 (0)