aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/update-osmo-ci-on-slaves.yml
blob: c8261751d42cb931a339f7afbe322225d41787d8 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
- job:
    name: update-osmo-ci-on-slaves
    project-type: matrix
    axes:
      - axis:
          type: slave
          name: label
          values:
            - build2-deb10build-ansible
            - build2-deb11build-ansible
            - build4-deb12build-ansible
            - gtp0-deb10fr
            - host2-deb11build-ansible
            - rpi4-raspbian11build-ansible-1
            - rpi4-raspbian11build-ansible-2
            - rpi4-raspbian11build-ansible-3
            - simtester
    properties:
      - build-discarder:
          days-to-keep: 30
          num-to-keep: 120
    parameters:
      - string:
          name: OSMO_BRANCH_CI
          description: |
                osmo-ci.git branch
          default: 'master'
      - string:
          # Used in scripts/common.sh:docker_images_require()
          name: OSMO_BRANCH_DOCKER_PLAYGROUND
          description: |
                docker-playground.git branch
          default: 'master'
    scm:
      - git:
          url: https://gerrit.osmocom.org/osmo-ci
          git-config-name: 'Jenkins Builder'
          git-config-email: 'jenkins@osmocom.org'
          skip-tag: true
          branches:
            - '$OSMO_BRANCH_CI'
          wipe-workspace: true

    triggers:
      - pollscm:
          cron: "H/5 * * * *"
          ignore-post-commit-hooks: false
      - timed: "H H * * *"

    builders:
      - shell: './contrib/jenkins.sh'

    wrappers:
    - ansicolor:
        colormap: xterm

    description: |
      <b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b>

    publishers:
      - email:
          recipients: jenkins-notifications@lists.osmocom.org

# Trigger from docker-playground.git too
- job:
    name: update-osmo-ci-on-slaves-dp
    description: |
      Trigger <a href="https://jenkins.osmocom.org/jenkins/job/update-osmo-ci-on-slaves/">update-osmo-ci-on-slaves</a>
      on changes in docker-playground.git, so it can rebuild docker containers relevant for the jenkins slaves.
    scm:
      - git:
          url: https://gerrit.osmocom.org/docker-playground
          git-config-name: 'Jenkins Builder'
          git-config-email: 'jenkins@osmocom.org'
          skip-tag: true
          branches:
            - 'origin/master'
    triggers:
      - pollscm:
          cron: "H/5 * * * *"
          ignore-post-commit-hooks: false
    publishers:
      - trigger:
          project: "update-osmo-ci-on-slaves"


# vim: expandtab tabstop=2 shiftwidth=2