diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-02-18 12:26:20 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-02-18 12:26:20 +0300 |
commit | 5dede999835c00f8be9b93ddb8d6fb5835357aa9 (patch) | |
tree | 4149b0c93a06f0ff03a050f8aa28b02b873000f0 /doc | |
parent | 6293786e155413db4ff5a2c42676860eee9740dd (diff) | |
parent | 1fbbdb48943b785478e117c964427be2d5bccf49 (diff) |
Merge branch 'patch-45' into 'master'
clarify after_script cwd situation in README.md
See merge request gitlab-org/gitlab-ce!25315
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/yaml/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 8c8a31e9323..31f99cd5e68 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -96,9 +96,9 @@ This can be an array or a multi-line string. jobs, including failed ones. This has to be an array or a multi-line string. The `before_script` and the main `script` are concatenated and run in a single context/container. -The `after_script` is run separately, so depending on the executor, changes done -outside of the working tree might not be visible, e.g. software installed in the -`before_script`. +The `after_script` is run separately. The current working directory is set back to +default. Depending on the executor, changes done outside of the working tree might +not be visible, e.g. software installed in the `before_script`. It's possible to overwrite the globally defined `before_script` and `after_script` if you set it per-job: |