Multi-project pipeline with trigger strategy, example from the docs doesn't work

The example for the multi project pipeline with mirroring status ( https://docs.gitlab.com/ee/ci/multi_project_pipelines.html#mirroring-status-from-triggered-pipeline) doesn't work:

trigger_job:
  trigger:
    project: my/project
    strategy: depend

leads to this linting error:

Status: syntax is incorrect 

Error: jobs:trigger_job:trigger config contains unknown keys: strategy

Seen in an actual job here: https://gitlab.com/gitlab-com/www-gitlab-com/pipelines/80353836

Config:

rebuild-map:
  stage: prepare
  allow_failure: true
  trigger:
    project: gitlab-com/teampage-map
    strategy: depend
  only:
    refs:
      - leipert-trigger-map-build@www-gitlab-com
    changes:
      - data/team.yml

The documentation in the CI yaml also seems to have gaps, as it doesn't describe strategy at all:

  • https://docs.gitlab.com/ee/ci/yaml/README.html#trigger-premium
Edited Sep 04, 2019 by Lukas Eipert
Assignee Loading
Time tracking Loading