osmo-ci/jobs/osmocom-obs.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

---
- project:
name: Osmocom_OBS
jobs:
- Osmocom_OBS_{type}_{server}
type:
- nightly
- latest
# - next (disabled: OS#5322)
server:
- build.opensuse.org:
proj: "network:osmocom"
- obs.osmocom.org:
proj: "osmocom"
- job-template:
name: 'Osmocom_OBS_{type}_{server}'
project-type: freestyle
defaults: global
description: |
See <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages">Wiki: binary packages</a>
for more information.
node: obs
parameters:
- string:
name: BRANCH
description: osmo-ci.git branch
default: 'refs/remotes/origin/master'
builders:
- shell: |
export PROJ={proj}:{type}
export OBS_SERVER={server}
./scripts/osmocom-{type}-packages.sh
scm:
- git:
branches:
- '$BRANCH'
url: git://git.osmocom.org/osmo-ci
git-config-name: 'Jenkins Builder'
git-config-email: 'jenkins@osmocom.org'
triggers:
- timed: "H 00 * * *" # run before repo-install-test.yml
publishers:
- email:
notify-every-unstable-build: true
recipients: 'jenkins-notifications@lists.osmocom.org'
# vim: expandtab tabstop=2 shiftwidth=2