summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristopher Zorn <christopherzo@zillowgroup.com>2020-04-08 17:02:29 -0700
committerChristopher Zorn <christopherzo@zillowgroup.com>2020-04-20 16:18:04 -0700
commit07b99881dfa6efa9665245647460e99846ccd341 (patch)
tree0ad774c01fdf6045c36eea3be35cf0ab16136273 /docs
parent7907e5a4b602d22d03d71ca51c6803f634bd8a78 (diff)
downloadgitlab-07b99881dfa6efa9665245647460e99846ccd341.tar.gz
feat: add play command to project pipeline schedules
fix: remove version from setup feat: add pipeline schedule play error exception docs: add documentation for pipeline schedule play
Diffstat (limited to 'docs')
-rw-r--r--docs/gl_objects/pipelines_and_jobs.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/gl_objects/pipelines_and_jobs.rst b/docs/gl_objects/pipelines_and_jobs.rst
index 30b45f2..c79d19f 100644
--- a/docs/gl_objects/pipelines_and_jobs.rst
+++ b/docs/gl_objects/pipelines_and_jobs.rst
@@ -155,6 +155,11 @@ Update a schedule::
sched.cron = '1 2 * * *'
sched.save()
+Trigger a pipeline schedule immediately::
+
+ sched = projects.pipelineschedules.get(schedule_id)
+ sched.play()
+
Delete a schedule::
sched.delete()