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
fe1f6944
Commit
fe1f6944
authored
Jun 12, 2017
by
Elan Ruusamäe
Committed by
Grzegorz Bizon
Jun 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: add example of scheduler when
parent
1e3bb74d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
doc/user/project/pipelines/schedules.md
doc/user/project/pipelines/schedules.md
+20
-0
No files found.
doc/user/project/pipelines/schedules.md
View file @
fe1f6944
...
@@ -31,6 +31,26 @@ is installed on.
...
@@ -31,6 +31,26 @@ is installed on.
![
Schedules list
](
img/pipeline_schedules_list.png
)
![
Schedules list
](
img/pipeline_schedules_list.png
)
## Using only and except
To configure that a job can be executed only when the pipeline has been
scheduled (or the opposite), you can use
[
only and except
](
../../../ci/yaml/README.md#only-and-except
)
configuration keywords.
```
job:on-schedule:
only:
- schedules
script:
- make world
job:
except:
- schedules
script:
- make build
```
## Taking ownership
## Taking ownership
Pipelines are executed as a user, who owns a schedule. This influences what
Pipelines are executed as a user, who owns a schedule. This influences what
...
...
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