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
fc5279fd
Commit
fc5279fd
authored
Aug 05, 2020
by
Ben Bodenmiller
Committed by
Marcel Amirault
Aug 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add when: never details
parent
5630b850
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 @
fc5279fd
...
...
@@ -1415,6 +1415,9 @@ In this example:
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`
).
To implement a rule similar to
[
`except: changes`
](
#onlychangesexceptchanges
)
,
use
`when: never`
.
##### `rules:exists`
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/24021) in GitLab 12.4.
...
...
@@ -2227,6 +2230,9 @@ failure.
[
manual actions
](
#whenmanual
)
below.
1.
`delayed`
- execute job after a certain period (added in GitLab 11.14).
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:
...
...
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