2022-11-16 11:33:53 +00:00
|
|
|
- job:
|
|
|
|
concurrent: false
|
|
|
|
description: This job builds the doxygen API documentation for latest libosmo*
|
|
|
|
and uploads it to <a href="https://downloads.osmocom.org/api/latest/"
|
|
|
|
>https://downloads.osmocom.org/api/latest/</a>
|
2023-04-03 09:22:21 +00:00
|
|
|
properties:
|
|
|
|
- build-discarder:
|
|
|
|
days-to-keep: 30
|
|
|
|
num-to-keep: 30
|
2022-11-16 11:33:53 +00:00
|
|
|
name: Osmocom_API
|
2022-11-30 13:50:49 +00:00
|
|
|
node: osmocom-master
|
2022-11-16 11:33:53 +00:00
|
|
|
project-type: freestyle
|
|
|
|
publishers:
|
|
|
|
- email:
|
|
|
|
notify-every-unstable-build: true
|
|
|
|
recipients: jenkins-notifications@lists.osmocom.org
|
|
|
|
triggers:
|
|
|
|
- timed: "H H * * *"
|
|
|
|
wrappers:
|
|
|
|
- ssh-agent-credentials:
|
|
|
|
users:
|
2022-11-30 11:54:46 +00:00
|
|
|
- api_ftp.osmocom.org
|
2022-11-16 11:33:53 +00:00
|
|
|
parameters:
|
|
|
|
- string:
|
|
|
|
name: BRANCH
|
|
|
|
description: osmo-ci.git branch
|
|
|
|
default: 'master'
|
|
|
|
scm:
|
|
|
|
- git:
|
|
|
|
branches:
|
|
|
|
- '$BRANCH'
|
|
|
|
url: https://gerrit.osmocom.org/osmo-ci
|
|
|
|
git-config-name: 'Jenkins Builder'
|
|
|
|
git-config-email: 'jenkins@osmocom.org'
|
|
|
|
wipe-workspace: true
|
|
|
|
builders:
|
|
|
|
- shell: |
|
2023-08-25 10:26:41 +00:00
|
|
|
docker run \
|
|
|
|
--rm=true \
|
|
|
|
-e SSH_AUTH_SOCK=/ssh-agent \
|
|
|
|
-u build \
|
|
|
|
-v "$PWD:/build" \
|
|
|
|
-v $(readlink -f $SSH_AUTH_SOCK):/ssh-agent \
|
|
|
|
-w /build \
|
|
|
|
"$USER/debian-bookworm-build" \
|
|
|
|
scripts/osmocom-api-doxygen.sh
|