Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
30fac72f
Commit
30fac72f
authored
Apr 17, 2019
by
Anthony Mastrean
Committed by
Mike Lewis
Apr 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
a80d2ad9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+6
-6
No files found.
doc/ci/yaml/README.md
View file @
30fac72f
...
...
@@ -2472,18 +2472,18 @@ Use [`stage`](#stage) instead.
## Custom build directories
> [Introduced]
[https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1267]
in Gitlab Runner 11.10
> [Introduced]
(https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1267)
in Gitlab Runner 11.10
NOTE:
**Note:**
This can only be used when
`custom_build_dir`
is enabled in the
[
Runner's
configuration
](
https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscustom_build_dir-section
)
.
This is the default configuration for
`docker`
and
`kubernetes`
executor.
By default, GitLab Runner clones the repository in a unique subpath of the
`$CI_BUILDS_DIR`
directory.
However, sometimes your project might require the code in a specific directory,
but sometimes your project might require to have the code in a specific directory,
like Go projects, for example. In that case, you can specify the
`GIT_CLONE_PATH`
variabl
e
to tell the Runner in which directory to clone the
repository:
By default, GitLab Runner clones the repository in a unique subpath of the
`$CI_BUILDS_DIR`
directory. However, your project might require the code in a
specific directory (Go projects, for example). In that case, you can specify
the
`GIT_CLONE_PATH`
variable to tell the Runner in which directory to clone th
e
repository:
```
yml
variables
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment