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
iv
gitlab-ce
Commits
38b15e35
Commit
38b15e35
authored
Apr 17, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CHANGELOG and add documentation
parent
5a7e4dfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
CHANGELOG
CHANGELOG
+1
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+20
-0
No files found.
CHANGELOG
View file @
38b15e35
...
...
@@ -46,6 +46,7 @@ v 8.7.0 (unreleased)
- Use rugged to change HEAD in Project#change_head (P.S.V.R)
- API: Ability to filter milestones by state `active` and `closed` (Robert Schilling)
- API: Fix milestone filtering by `iid` (Robert Schilling)
- Make before_script and after_script overridable on per-job (Kamil Trzciński)
- API: Delete notes of issues, snippets, and merge requests (Robert Schilling)
- Implement 'Groups View' as an option for dashboard preferences !3379 (Elias W.)
- Better errors handling when creating milestones inside groups
...
...
doc/ci/yaml/README.md
View file @
38b15e35
...
...
@@ -30,6 +30,7 @@ If you want a quick introduction to GitLab CI, follow our
-
[
artifacts
](
#artifacts
)
-
[
artifacts:name
](
#artifacts-name
)
-
[
dependencies
](
#dependencies
)
-
[
before_script and after_script
](
#before_script-and-after_script
)
-
[
Hidden jobs
](
#hidden-jobs
)
-
[
Special YAML features
](
#special-yaml-features
)
-
[
Anchors
](
#anchors
)
...
...
@@ -342,6 +343,8 @@ job_name:
| dependencies | no | Define other builds that a build depends on so that you can pass artifacts between them|
| artifacts | no | Define list build artifacts |
| cache | no | Define list of files that should be cached between subsequent runs |
| before_script | no | Override a set of commands that are executed before build |
| after_script | no | Override a set of commands that are executed after build |
### script
...
...
@@ -686,6 +689,23 @@ deploy:
script
:
make deploy
```
### before_script and after_script
It's possible to overwrite globally defined
`before_script`
and
`after_script`
:
```
yaml
before_script
-
global before script
job
:
before_script
:
-
execute this instead of global before script
script
:
-
my command
after_script
:
-
execute this after my script
```
## Hidden jobs
>**Note:**
...
...
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