diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-11-08 12:18:02 +0100 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-11-09 17:40:11 +0100 |
commit | 6a66c829aac72bcc30efa2a2f33550077fb353d6 (patch) | |
tree | 96aa017a288a5c281490fafd432db90a3d2bd112 /app | |
parent | 938d8900ad64edc7ad0fda7f6ed98f454c4528d1 (diff) | |
download | gitlab-ce-6a66c829aac72bcc30efa2a2f33550077fb353d6.tar.gz |
Add documentation for archive builds
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/application_settings/_ci_cd.html.haml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/admin/application_settings/_ci_cd.html.haml b/app/views/admin/application_settings/_ci_cd.html.haml index adb496495d1..0f0d7acf94d 100644 --- a/app/views/admin/application_settings/_ci_cd.html.haml +++ b/app/views/admin/application_settings/_ci_cd.html.haml @@ -42,12 +42,11 @@ <code>4 mins 2 sec</code>, <code>2h42min</code>. = link_to icon('question-circle'), help_page_path('user/admin_area/settings/continuous_integration', anchor: 'default-artifacts-expiration') .form-group - = f.label :archive_builds_in_human_readable, 'Archive builds in', class: 'label-bold' + = f.label :archive_builds_in_human_readable, 'Archive jobs in', class: 'label-bold' = f.text_field :archive_builds_in_human_readable, class: 'form-control', placeholder: 'never' .form-text.text-muted - Set the duration when build gonna be considered old. Archived builds cannot be retried. - Make it empty to never expire builds. It has to be larger than 1 day. - The default unit is in seconds, but you can define an alternative. For example: - <code>4 mins 2 sec</code>, <code>2h42min</code>. + Set the duration when job gonna be considered old. Archived jobs cannot be retried. + Make it empty to never expire jobs. It has to be no less than 1 day. + For example: <code>15 days</code>, <code>1 month</code>, <code>2 years</code>. = f.submit 'Save changes', class: "btn btn-success" |