Commit 6136eb0a authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'after_script-working-dir' into 'master'

Docs: Note that after_script behavior is variable

See merge request gitlab-org/gitlab!71782
parents 759db2da db9e7042
...@@ -794,7 +794,7 @@ job: ...@@ -794,7 +794,7 @@ job:
Scripts you specify in `after_script` execute in a new shell, separate from any Scripts you specify in `after_script` execute in a new shell, separate from any
`before_script` or `script` commands. As a result, they: `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`, - Don't have access to changes done by commands defined in the `before_script` or `script`,
including: including:
- Command aliases and variables exported in `script` scripts. - 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