Commit c4d64cc7 authored by Martin Nowak's avatar Martin Nowak
Browse files

add note about after_script being run separately

parent d3692713ca35
...@@ -95,6 +95,12 @@ ...@@ -95,6 +95,12 @@
`after_script` is used to define the command that will be run after for all `after_script` is used to define the command that will be run after for all
jobs. This has to be an array or a multi-line string. jobs. This has to be an array or a multi-line string.
> **Note:**
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`.
### stages ### stages
`stages` is used to define stages that can be used by jobs. `stages` is used to define stages that can be used by jobs.
......
Supports Markdown
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