aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/osmocom-build-tags-against-master.yml
blob: e33c9a39bdc03137e3045b4b983e5781772c13fd (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
53
54
---
- project:
    name: Osmocom-build-tags-against-master
    jobs:
      - Osmocom-build-tags-against-master

- job-template:
    name: 'Osmocom-build-tags-against-master'
    project-type: freestyle
    defaults: global
    description: |
        Build old releases of programs/libraries against "master of the day" libosmo*
        (<a href="https://osmocom.org/issues/3765">OS#3765</a>)
    properties:
      - build-discarder:
          days-to-keep: 30
          num-to-keep: 30
    node: osmocom-master
    parameters:
      - string:
          name: BRANCH
          description: |
                osmo-ci.git branch where the osmocom-build-old-tags-against-master.sh gets pulled from
          default: '*/master'
    builders:
      - shell: |
          docker run \
            --rm=true \
            -e PARALLEL_MAKE="-j8" \
            -u build \
            -v "$PWD:/build" \
            -w /build \
            "$USER/debian-bookworm-build" \
            scripts/osmocom-build-old-tags-against-master.sh
    scm:
      - git:
          branches:
            - '$BRANCH'
          url: https://gerrit.osmocom.org/osmo-ci
          git-config-name: 'Jenkins Builder'
          git-config-email: 'jenkins@osmocom.org'
    triggers:
      - timed: "H 01 * * *"
    publishers:
       - archive:
          allow-empty: false
          artifacts: _temp/log/*
          case-sensitive: true
          only-if-success: false
       - email:
          notify-every-unstable-build: true
          recipients: 'jenkins-notifications@lists.osmocom.org'

# vim: expandtab tabstop=2 shiftwidth=2