Commit db9e7042 authored by Andrew Conrad's avatar Andrew Conrad

Docs: Note that after_script behavior is variable

Specifically, variables such as GIT_STRATEGY can change how the working
directory is reset (if at all), so there is now a link to the variables
which define how Git requests are processed.
parent 0f316f43
......@@ -795,7 +795,7 @@ job:
Scripts you specify in `after_script` execute in a new shell, separate from any
`before_script` or `script` commands. As a result, they:
- Have a current working directory set back to the default.
- Have the current working directory set back to the default (according to the [variables which define how the runner processes Git requests](#configure-runner-behavior-with-variables)).
- Don't have access to changes done by commands defined in the `before_script` or `script`,
including:
- Command aliases and variables exported in `script` scripts.
......
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