summaryrefslogtreecommitdiff
path: root/doc/user/admin_area/settings/continuous_integration.md
blob: 295e0adec45e11acb28546e75ad9f412e97d7926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Continuous integration Admin settings

## Maximum artifacts size

The maximum size of the [build artifacts][art-yml] can be set in the Admin
area of your GitLab instance. The value is in *MB* and the default is 100MB.
Note that this setting is set for each job.

1. Go to **Admin area > Settings** (`/admin/application_settings`).

    ![Admin area settings button](img/admin_area_settings_button.png)

1. Change the value of maximum artifacts size (in MB):

    ![Admin area maximum artifacts size](img/admin_area_maximum_artifacts_size.png)

1. Hit **Save** for the changes to take effect.

[art-yml]: ../../../administration/build_artifacts

## Default artifacts expiration time

The default expiration time of the [build artifacts][art-yml] can be set in
the Admin area of your GitLab instance. The syntax of duration is described
in [artifacts:expire_in][duration-syntax]. The default is `30 days`. Note that
this setting is set for each job. Leave it blank for no default expiration.

1. Go to **Admin area > Settings** (`/admin/application_settings`).

    ![Admin area settings button](img/admin_area_settings_button.png)

1. Change the value of default expiration time (in days):

    ![Admin area default artifacts expiration](img/admin_area_default_artifacts_expiration.png)

1. Hit **Save** for the changes to take effect.

[art-yml]: ../../../administration/build_artifacts
[duration-syntax]: ../../../ci/yaml/README#artifactsexpire_in