Commit d0e5acd9 authored by Cindy Pallares 🦉's avatar Cindy Pallares 🦉 🌴 Committed by Cindy Pallares 🦉

Add CI job trace default location to docs

parent b89fd7dd
Pipeline #17333358 failed with stages
in 2 minutes and 52 seconds
......@@ -36,3 +36,20 @@ expiration.
[art-yml]: ../../../administration/
[duration-syntax]: ../../../ci/yaml/
## Configuring job trace location
By default all job traces are saved to `/var/opt/gitlab/gitlab-ci/builds`. The
job logs are organized by the year and month (for example, `2017_03`) and then
by project ID.
Currently, there isn't a way to automatically expire old build logs, but it's
safe to remove these if they're taking up too much space. If you remove these
logs manually, the job output in the UI will be empty.
To change the location of these logs you can change the following value
in your `gitlab.rb`:
gitlab_ci['builds_directory'] = '/mnt/to/gitlab-ci/builds'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment