diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2016-12-19 12:53:34 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-12-21 17:51:32 +0300 |
commit | 1da2674821800a21c1c1c3460734b5420dbaf872 (patch) | |
tree | 806c0c1697beaf75d53b71696f6ae4a720173f37 /doc | |
parent | 3322719741c83c6dc7d187c134dd0ac66cd7f60c (diff) |
Merge branch 'fix/ci-readme-typo' into 'master'
Fix small typo in CI readme
fix typo
See merge request !8167
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/yaml/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index a62193700fc..7158b2e7895 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1034,6 +1034,31 @@ variables: GIT_STRATEGY: none ``` +## Build stages attempts + +> Introduced in GitLab, it requires GitLab Runner v1.9+. + +You can set the number for attempts the running build will try to execute each +of the following stages: + +| Variable | Description | +|-------------------------|-------------| +| **GET_SOURCES_ATTEMPTS** | Number of attempts to fetch sources running a build | +| **ARTIFACT_DOWNLOAD_ATTEMPTS** | Number of attempts to download artifacts running a build | +| **RESTORE_CACHE_ATTEMPTS** | Number of attempts to restore the cache running a build | + +The default is one single attempt. + +Example: + +``` +variables: + GET_SOURCES_ATTEMPTS: "3" +``` + +You can set them in the global [`variables`](#variables) section or the [`variables`](#job-variables) +section for individual jobs. + ## Shallow cloning > Introduced in GitLab 8.9 as an experimental feature. May change in future |