=link_tonamespace_project_note_path(note.project.namespace,note.project,note),title: 'Remove comment',method: :delete,data: {confirm: 'Are you sure you want to remove this comment?'},remote: true,class: 'note-action-button js-note-delete danger'do
=link_tonamespace_project_note_path(note.project.namespace,note.project,note),title: 'Remove comment',method: :delete,data: {confirm: 'Are you sure you want to remove this comment?'},remote: true,class: 'note-action-button js-note-delete danger'do
@@ -24,6 +24,7 @@ If you want a quick introduction to GitLab CI, follow our
...
@@ -24,6 +24,7 @@ If you want a quick introduction to GitLab CI, follow our
-[Jobs](#jobs)
-[Jobs](#jobs)
-[script](#script)
-[script](#script)
-[stage](#stage)
-[stage](#stage)
-[job variables](#job-variables)
-[only and except](#only-and-except)
-[only and except](#only-and-except)
-[tags](#tags)
-[tags](#tags)
-[when](#when)
-[when](#when)
...
@@ -188,6 +189,8 @@ These variables can be later used in all executed commands and scripts.
...
@@ -188,6 +189,8 @@ These variables can be later used in all executed commands and scripts.
The YAML-defined variables are also set to all created service containers,
The YAML-defined variables are also set to all created service containers,
thus allowing to fine tune them.
thus allowing to fine tune them.
Variables can be also defined on [job level](#job-variables).
### cache
### cache
>**Note:**
>**Note:**
...
@@ -338,6 +341,7 @@ job_name:
...
@@ -338,6 +341,7 @@ job_name:
| services | no | Use docker services, covered in [Using Docker Images](../docker/using_docker_images.md#define-image-and-services-from-gitlab-ciyml) |
| services | no | Use docker services, covered in [Using Docker Images](../docker/using_docker_images.md#define-image-and-services-from-gitlab-ciyml) |
| stage | no | Defines a build stage (default: `test`) |
| stage | no | Defines a build stage (default: `test`) |
| type | no | Alias for `stage` |
| type | no | Alias for `stage` |
| variables | no | Define build variables on a job level |
| only | no | Defines a list of git refs for which build is created |
| only | no | Defines a list of git refs for which build is created |
| except | no | Defines a list of git refs for which build is not created |
| except | no | Defines a list of git refs for which build is not created |
| tags | no | Defines a list of tags which are used to select Runner |
| tags | no | Defines a list of tags which are used to select Runner |
...
@@ -430,6 +434,18 @@ job:
...
@@ -430,6 +434,18 @@ job:
The above example will run `job` for all branches on `gitlab-org/gitlab-ce`,
The above example will run `job` for all branches on `gitlab-org/gitlab-ce`,
except master.
except master.
### job variables
It is possible to define build variables using a `variables` keyword on a job
level. It works basically the same way as its global-level equivalent but
allows you to define job-specific build variables.
When the `variables` keyword is used on a job level, it overrides global YAML