Skip to content

Commit

Permalink
chore: add docs for schedule pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
nejch committed Dec 11, 2022
1 parent 865fa41 commit 9a9a6a9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/gl_objects/pipelines_and_jobs.rst
Expand Up @@ -112,8 +112,8 @@ objects to get the associated project::

Reference: https://docs.gitlab.com/ee/ci/triggers/#trigger-token

Pipeline schedule
=================
Pipeline schedules
==================

You can schedule pipeline runs using a cron-like syntax. Variables can be
associated with the scheduled pipelines.
Expand All @@ -128,7 +128,10 @@ Reference
+ :attr:`gitlab.v4.objects.Project.pipelineschedules`
+ :class:`gitlab.v4.objects.ProjectPipelineScheduleVariable`
+ :class:`gitlab.v4.objects.ProjectPipelineScheduleVariableManager`
+ :attr:`gitlab.v4.objects.Project.pipelineschedules`
+ :attr:`gitlab.v4.objects.ProjectPipelineSchedule.variables`
+ :class:`gitlab.v4.objects.ProjectPipelineSchedulePipeline`
+ :class:`gitlab.v4.objects.ProjectPipelineSchedulePipelineManager`
+ :attr:`gitlab.v4.objects.ProjectPipelineSchedule.pipelines`

* GitLab API: https://docs.gitlab.com/ce/api/pipeline_schedules.html

Expand Down Expand Up @@ -188,6 +191,9 @@ Delete a schedule variable::

var.delete()

List all pipelines triggered by a pipeline schedule::

pipelines = sched.pipelines.list()

Jobs
====
Expand Down

0 comments on commit 9a9a6a9

Please sign in to comment.