mirror of https://gerrit.osmocom.org/osmo-ci
jobs/registry-triggers: add for osmo-ttcn3-hacks
Trigger registry-rebuild-upload-titan on changes in osmo-ttcn3-hacks.git. Write registry-triggers.yml with a job template, so we could add more triggers from git repos -> registry easily if needed in the future. Related: OS#5017 Change-Id: Ib6a27be6351ce821c7023a1f75a82b1ade2ffa49
This commit is contained in:
parent
7433811c62
commit
e99cb64e2e
|
@ -0,0 +1,32 @@
|
|||
- project:
|
||||
name: registry-triggers
|
||||
jobs:
|
||||
- 'registry-trigger-{repos}'
|
||||
repos:
|
||||
- osmo-ttcn3-hacks:
|
||||
# Cache is invalidated on changes in deps/Makefile (OS#5017)
|
||||
trigger: >
|
||||
registry-rebuild-upload-titan
|
||||
|
||||
- job-template:
|
||||
name: 'registry-trigger-{repos}'
|
||||
description: |
|
||||
Update registry.osmocom.org after changes in {repos}.
|
||||
node: osmocom-master-debian9
|
||||
scm:
|
||||
- git:
|
||||
url: git://git.osmocom.org/{repos}
|
||||
branches:
|
||||
- 'origin/master'
|
||||
trigger:
|
||||
email: jenkins-notifications@lists.osmocom.org
|
||||
triggers:
|
||||
- pollscm:
|
||||
cron: "H/5 * * * *"
|
||||
ignore-post-commit-hooks: false
|
||||
- timed: "H H * * *"
|
||||
publishers:
|
||||
- trigger:
|
||||
project: '{obj:trigger}'
|
||||
|
||||
# vim: expandtab tabstop=2 shiftwidth=2
|
Loading…
Reference in New Issue