aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/coverity.yml
blob: 42c060a36d2f4fa70e0449a89f7ce7992cc34d5d (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
47
48
49
50
51
52
# compile and upload osmocom with coverity tools
- project:
    name: osmocom-coverity
    jobs:
      - osmocom-coverity

- job:
    name: 'osmocom-coverity'
    project-type: freestyle
    defaults: global
    description: 'Generated by job-builder'
    node: coverity
    builders:
      - shell: |
          docker run \
            --rm=true \
            -e PARALLEL_MAKE="$PARALLEL_MAKE" \
            -u build \
            -v "$PWD:/build" \
            -v "$HOME/osmo-ci/coverity:/home/build/osmo-ci/coverity:ro" \
            -v "/opt/coverity:/opt/coverity:ro" \
            -w /build/coverity \
            "$USER/debian-bookworm-build" \
            ./jenkins.sh
    publishers:
      - email:
          recipients: 'jenkins-notifications@lists.osmocom.org'
          notify-every-unstable-build: true
    properties:
      - build-discarder:
          days-to-keep: 30
          num-to-keep: 30
    parameters:
      - string:
          name: BRANCH
          description: osmo-ci.git branch
          default: 'origin/master'
    scm:
      - git:
          url: https://gerrit.osmocom.org/osmo-ci
          git-config-name: 'Jenkins Builder'
          git-config-email: 'jenkins@osmocom.org'
          branches:
            - '$BRANCH'
    triggers:
      - timed: "H 22 * * *"
    publishers:
      - email:
          notify-every-unstable-build: true
          recipients: 'jenkins-notifications@lists.osmocom.org'

# vim: expandtab tabstop=2 shiftwidth=2