Commit 1fbbdb48 authored by Stefan Agner's avatar Stefan Agner

clarify after_script cwd situation in README.md

parent 28aa4d33
...@@ -96,9 +96,9 @@ This can be an array or a multi-line string. ...@@ -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. 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 `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 The `after_script` is run separately. The current working directory is set back to
outside of the working tree might not be visible, e.g. software installed in the default. Depending on the executor, changes done outside of the working tree might
`before_script`. not be visible, e.g. software installed in the `before_script`.
It's possible to overwrite the globally defined `before_script` and `after_script` It's possible to overwrite the globally defined `before_script` and `after_script`
if you set it per-job: if you set it per-job:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment