GitLab scheduled pipeline: Don't notify owner

Updated . Posted . Visible to the public.

The owner of a scheduled CI/CD pipeline in GitLab will always be notified if the pipeline fails.

Follow these steps if you don't want this:

  1. Create a Project Access Token with api scope and maintainer role
  2. Create the scheduled pipeline with that token:
    curl --request POST --header "PRIVATE-TOKEN: ${TOKEN}" \
      --form description="Daily pipeline check" \
      --form ref="main" \
      --form cron="0 10 * * *" \
      --form cron_timezone="UTC" \
      --form active="true" \
      "https://${GITLAB_URL}/api/v4/projects/${PROJECT_ID}/pipeline_schedules"
    
  3. Optional: Configure other notifications like Slack or Pipeline status emails with Integrations
Andreas Vöst
Last edit
Ruben Aleman
License
Source code in this card is licensed under the MIT License.