Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
ce4fece2
Commit
ce4fece2
authored
Oct 20, 2017
by
Martin Nowak
Committed by
Winnie Hellmann
Oct 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add note about after_script being run separately
parent
de066111
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+6
-0
No files found.
doc/ci/yaml/README.md
View file @
ce4fece2
...
@@ -95,6 +95,12 @@ be an array or a multi-line string.
...
@@ -95,6 +95,12 @@ be an array or a multi-line string.
`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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment