# Roll out osmo-gsm-manuals to relevant build environments:
#  * jenkins build slaves (update-osmo-ci-on-slaves)
#  * docker images built on build slaves (update-osmo-ci-on-slaves)
#  * docker image built in registry: fpga-build (registry-rebuild-upload-fpga-build)

- project:
    name: osmo-gsm-manuals-trigger
    jobs:
      - 'osmo-gsm-manuals-trigger'

# Trigger from osmo-gsm-manuals.git too
- job:
    name: osmo-gsm-manuals-trigger
    description: |
      Roll out osmo-gsm-manuals to relevant build environments.<br>
      <br>
      Related: <a href="https://osmocom.org/issues/4912">OS#4912</a>
    properties:
      - build-discarder:
          days-to-keep: 30
          num-to-keep: 30
    scm:
      - git:
          url: https://gerrit.osmocom.org/osmo-gsm-manuals
          git-config-name: 'Jenkins Builder'
          git-config-email: 'jenkins@osmocom.org'
          skip-tag: true
          branches:
            - 'master'
    triggers:
      - pollscm:
          cron: "H/5 * * * *"
          ignore-post-commit-hooks: false
    publishers:
      - trigger:
          project: >
            update-osmo-ci-on-slaves,
            registry-rebuild-upload-fpga-build

# vim: expandtab tabstop=2 shiftwidth=2
