aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/osmocom-api.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/osmocom-api.yml')
-rw-r--r--jobs/osmocom-api.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/jobs/osmocom-api.yml b/jobs/osmocom-api.yml
new file mode 100644
index 0000000..312496b
--- /dev/null
+++ b/jobs/osmocom-api.yml
@@ -0,0 +1,46 @@
+- 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>
+ properties:
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ name: Osmocom_API
+ node: osmocom-master
+ project-type: freestyle
+ publishers:
+ - email:
+ notify-every-unstable-build: true
+ recipients: jenkins-notifications@lists.osmocom.org
+ triggers:
+ - timed: "H 00 * * *"
+ wrappers:
+ - ssh-agent-credentials:
+ users:
+ - api_ftp.osmocom.org
+ 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: |
+ 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