osmo-ci/jobs/osmocom-release-tarballs.yml

48 lines
1.5 KiB
YAML

---
- project:
name: Osmocom-release-tarballs
jobs:
- Osmocom-release-tarballs
- job-template:
name: 'Osmocom-release-tarballs'
project-type: freestyle
defaults: global
description: |
For each relevant Osmocom repository and its tags, build release tarballs (<a href="https://osmocom.org/issues/3870">OS#3870</a>).
<br><br>
Publishes to: <a href="https://ftp.osmocom.org/releases/">https://ftp.osmocom.org/releases</a>
parameters:
- string:
name: BRANCH_DOCKER_PLAYGROUND
description: |
docker-playground.git branch where the Dockerfile gets pulled from
default: 'master'
builders:
- shell: |
cd release-tarball-build-dist
./jenkins.sh
scm:
- git:
branches:
- '$BRANCH_DOCKER_PLAYGROUND'
url: https://gitea.osmocom.org/osmocom/docker-playground
git-config-name: 'Jenkins Builder'
git-config-email: 'jenkins@osmocom.org'
# Don't wipe workspace to keep generated release tarballs
wipe-workspace: false
triggers:
- timed: "@midnight"
# Limit to one specific builder (so we don't regenerate all tarballs when switching to another builder)
node: build2-deb9build-ansible
publishers:
- email:
notify-every-unstable-build: true
recipients: 'jenkins-notifications@lists.osmocom.org'
wrappers:
- ssh-agent-credentials:
users:
- releases_ftp.osmocom.org
# vim: expandtab tabstop=2 shiftwidth=2