summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/user/admin_area/settings/continuous_integration.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/user/admin_area/settings/continuous_integration.md b/doc/user/admin_area/settings/continuous_integration.md
index eb6f915f3f4..c02aea70886 100644
--- a/doc/user/admin_area/settings/continuous_integration.md
+++ b/doc/user/admin_area/settings/continuous_integration.md
@@ -36,3 +36,20 @@ expiration.
[art-yml]: ../../../administration/job_artifacts.md
[duration-syntax]: ../../../ci/yaml/README.md#artifactsexpire_in
+
+## 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'
+```