Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab-runner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Seipel
gitlab-runner
Commits
10271a50
Commit
10271a50
authored
9 years ago
by
Benjamin Pannell
Browse files
Options
Downloads
Patches
Plain Diff
Added fixes for PathTooLongException to FAQ doc
parent
e603b9ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/faq/README.md
+18
-0
18 additions, 0 deletions
docs/faq/README.md
with
18 additions
and
0 deletions
docs/faq/README.md
+
18
−
0
View file @
10271a50
...
...
@@ -12,3 +12,21 @@ Is it possible to run GitLab Runner in debug/verbose mode. Do it from terminal:
```
gitlab-runner --debug run
```
## 3. I get a PathTooLongException during my builds on Windows
This is caused by tools like
`npm`
which will sometimes generate directory structures
with paths more than 260 characters in length. There are two possible fixes you can
adopt to solve the problem.
### a) Use Git with core.longpaths enabled
You can avoid the problem by using Git to clean your directory structure, first run
`git config --system core.longpaths true`
from the command line and then set your
project to use
*git fetch*
from the GitLab CI project settings page.
### b) Use NTFSSecurity tools for PowerShell
The
[
NTFSSecurity
](
https://ntfssecurity.codeplex.com/
)
PowerShell module provides
a
*Remove-Item2*
method which supports long paths. The Gitlab CI Multi Runner will
detect it if it is available and automatically make use of it.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment