Skip to content

Commit

Permalink
fix: enable long paths for git to avoid problems with tests on Window…
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherveCB committed Mar 24, 2022
1 parent 216eee6 commit 8d6b7c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vars/infra.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Object checkout(String repo = null) {
}

Object checkoutSCM(String repo = null) {
// Enable long paths to avoid problems with tests on Windows agents
git config core.longpaths true

if (env.BRANCH_NAME) {
checkout scm
} else if ((env.BRANCH_NAME == null) && (repo)) {
Expand Down

0 comments on commit 8d6b7c9

Please sign in to comment.