Skip to content

Commit

Permalink
Fix shallow fetch depth in pipeline (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
fslef committed Apr 17, 2023
1 parent 75479c9 commit 16933e1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Fix Azure Pipeline bug to resolve errors and delays during the build process. Shallow fetch has been disabled to ensure complete repository cloning. Fixes [#424](https://github.com/gaelcolas/Sampler/issues/424)

## [0.116.4] - 2023-04-06

### Fixed
Expand Down
1 change: 1 addition & 0 deletions Sampler/Templates/Sampler/azure-pipelines.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ variables:
buildArtifactName: output
testResultFolderName: testResults
defaultBranch: <%= ${PLASTER_PARAM_MainGitBranch} %>
Agent.Source.Git.ShallowFetchDepth: 0 # override ShallowFetchDepth

stages:
- stage: Build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ variables:
testArtifactName: testResults
sourceFolderName: source
defaultBranch: <%= ${PLASTER_PARAM_MainGitBranch} %>
Agent.Source.Git.ShallowFetchDepth: 0 # override ShallowFetchDepth

stages:
- stage: Build
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ variables:
buildArtifactName: output
testResultFolderName: testResults
defaultBranch: main
Agent.Source.Git.ShallowFetchDepth: 0 # override ShallowFetchDepth

stages:
- stage: Build
Expand Down

0 comments on commit 16933e1

Please sign in to comment.