summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-10-06 21:44:15 +0200
committerJohn Villalovos <john@sodarock.com>2021-10-08 12:50:07 -0700
commit69461f6982e2a85dcbf95a0b884abd3f4050c1c7 (patch)
tree89b0003a4b41a6efe831d716eae2b4e837a6d867 /docs
parent8dc7f40044ce8c478769f25a87c5ceb1aa76b595 (diff)
downloadgitlab-69461f6982e2a85dcbf95a0b884abd3f4050c1c7.tar.gz
docs(pipelines): document take_ownership method
Diffstat (limited to 'docs')
-rw-r--r--docs/gl_objects/pipelines_and_jobs.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/pipelines_and_jobs.rst b/docs/gl_objects/pipelines_and_jobs.rst
index 627af1c..675ff4e 100644
--- a/docs/gl_objects/pipelines_and_jobs.rst
+++ b/docs/gl_objects/pipelines_and_jobs.rst
@@ -155,6 +155,10 @@ Update a schedule::
sched.cron = '1 2 * * *'
sched.save()
+Take ownership of a schedule:
+
+ sched.take_ownership()
+
Trigger a pipeline schedule immediately::
sched = projects.pipelineschedules.get(schedule_id)