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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
49419d32
Commit
49419d32
authored
Aug 05, 2020
by
Marcel Amirault
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-200' into 'master'
Add when: never details See merge request gitlab-org/gitlab!37761
parents
a746bf02
fc5279fd
Changes
1
Hide 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 @
49419d32
...
@@ -1415,6 +1415,9 @@ In this example:
...
@@ -1415,6 +1415,9 @@ In this example:
to continue running even if the job is not triggered (
`allow_failure: true`
).
to continue running even if the job is not triggered (
`allow_failure: true`
).
-
If
`Dockerfile`
has not changed, do not add job to any pipeline (same as
`when: never`
).
-
If
`Dockerfile`
has not changed, do not add job to any pipeline (same as
`when: never`
).
To implement a rule similar to
[
`except: changes`
](
#onlychangesexceptchanges
)
,
use
`when: never`
.
##### `rules:exists`
##### `rules:exists`
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/24021) in GitLab 12.4.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/24021) in GitLab 12.4.
...
@@ -2227,6 +2230,9 @@ failure.
...
@@ -2227,6 +2230,9 @@ failure.
[
manual actions
](
#whenmanual
)
below.
[
manual actions
](
#whenmanual
)
below.
1.
`delayed`
- execute job after a certain period (added in GitLab 11.14).
1.
`delayed`
- execute job after a certain period (added in GitLab 11.14).
Read about
[
delayed actions
](
#whendelayed
)
below.
Read about
[
delayed actions
](
#whendelayed
)
below.
1.
`never`
:
-
With
[
`rules`
](
#rules
)
, don't execute job.
-
With
[
`workflow:rules`
](
#workflowrules
)
, don't run pipeline.
For example:
For example:
...
...
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