Skip to content

Commit cd602e6

Browse files
committed
agreed to clean up git artifact repo later
1 parent 351c590 commit cd602e6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

CI/AZ_MainPipeline.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ pool:
1010
variables:
1111
- name: ArtifactBranchName
1212
value: tSQLt$(Build.SourceVersion)
13-
- name: GitFetchDepth
14-
value: 11
1513

1614
resources:
1715
repositories:
@@ -85,7 +83,6 @@ stages:
8583

8684
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
8785
clean: true
88-
fetchDepth: $(GitFetchDepth)
8986
lfs: false
9087

9188
- task: AzureKeyVault@1
@@ -142,7 +139,6 @@ stages:
142139

143140
- checkout: self
144141
clean: true
145-
fetchDepth: $(GitFetchDepth)
146142
lfs: false
147143

148144
- task: DownloadPipelineArtifact@2
@@ -188,7 +184,6 @@ stages:
188184
steps:
189185
- checkout: tSQLtArtifacts
190186
clean: true
191-
fetchDepth: $(GitFetchDepth)
192187
lfs: false
193188
persistCredentials: true
194189
path: tSQLtArtifacts
@@ -273,7 +268,6 @@ stages:
273268
steps:
274269
- checkout: self
275270
clean: true
276-
fetchDepth: $(GitFetchDepth)
277271
lfs: false
278272
path: tSQLt
279273

@@ -284,7 +278,6 @@ stages:
284278

285279
- checkout: tSQLtArtifacts
286280
clean: true
287-
fetchDepth: $(GitFetchDepth)
288281
lfs: false
289282
persistCredentials: true
290283
path: tSQLtArtifacts
@@ -304,7 +297,7 @@ stages:
304297
git status
305298
git remote show origin
306299
307-
git fetch --depth=11 origin
300+
git fetch
308301
git checkout "$(ArtifactBranchName)"
309302
$CheckIfGitOk.invoke($?);
310303

0 commit comments

Comments
 (0)