summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-04-22 08:27:49 +0200
committerGitHub <noreply@github.com>2020-04-22 08:27:49 +0200
commit9d66cb3ccc8d9edac68380b4b8ff285a9782e698 (patch)
treeab04f82adbfd84c9f42fb77cd434bf9c52179b72 /docs
parent7907e5a4b602d22d03d71ca51c6803f634bd8a78 (diff)
parent930122b1848b3d42af1cf8567a065829ec0eb44f (diff)
downloadgitlab-9d66cb3ccc8d9edac68380b4b8ff285a9782e698.tar.gz
Merge pull request #1069 from zillow/feat/add-custom-pipeline-schedule-play
feat: Add play command to project pipeline schedules
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()