aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/osmocom-api.yml
blob: 312496b92590741422937e9300db1b2c64696440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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