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
c165f39b
Commit
c165f39b
authored
Jun 12, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-8' into 'master'
doc: add example of scheduler when See merge request !12067
parents
1e3bb74d
fe1f6944
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 @
c165f39b
...
...
@@ -31,6 +31,26 @@ is installed on.
![
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
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