blob: b7a3fd012fccaa754b5258928838c3b85df6626c (
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
---
- project:
name: 'ttcn3-testsuites'
concurrent: false
disabled: false
timer: "@midnight"
# Block *-latest for all master jobs (without suffix)
blocking: "^{job-name}.*"
jobs:
- "{job-name}"
# Folders from docker-playground.git
job-name:
# nightly
- nplab-m3ua-test:
timer: 00 03 * * *
- nplab-sua-test:
timer: 15 03 * * *
- ttcn3-bsc-test:
timer: 00 06 * * *
- ttcn3-bsc-test-sccplite:
timer: 30 08 * * *
- ttcn3-bts-test:
timer: 00 07 * * *
- ttcn3-ggsn-test:
timer: 00 04 * * *
- ttcn3-hlr-test:
timer: 45 06 * * *
- ttcn3-mgw-test:
timer: 30 06 * * *
- ttcn3-msc-test:
timer: 30 04 * * *
- ttcn3-sgsn-test:
timer: 30 05 * * *
- ttcn3-sip-test:
timer: 00 07 * * *
# latest stable
- nplab-m3ua-test-latest:
blocking: "^nplab-m3ua-test.*"
- nplab-sua-test-latest:
blocking: "^nplab-sua-test.*"
- ttcn3-bsc-test-latest:
blocking: "^ttcn3-bsc-test.*"
- ttcn3-bsc-test-sccplite-latest:
blocking: "^ttcn3-bsc-test-sccplite.*"
- ttcn3-bts-test-latest:
blocking: "^ttcn3-bts-test.*"
- ttcn3-ggsn-test-latest:
blocking: "^ttcn3-ggsn-test.*"
- ttcn3-hlr-test-latest:
blocking: "^ttcn3-hlr-test.*"
- ttcn3-mgw-test-latest:
blocking: "^ttcn3-mgw-test.*"
- ttcn3-msc-test-latest:
blocking: "^ttcn3-msc-test.*"
- ttcn3-sgsn-test-latest:
blocking: "^ttcn3-sgsn-test.*"
- ttcn3-sip-test-latest:
blocking: "^ttcn3-sip-test.*"
- job-template:
name: '{job-name}'
project-type: freestyle
disabled: '{obj:disabled}'
defaults: global
description: |
Run the <code>{job-name}</code> testsuite from
<a href="https://git.osmocom.org/docker-playground/">docker-playground.git</a>.<br>
If this job ends in <code>-latest</code>, the job runs the latest stable versions of the Osmocom stack.
Otherwise the nightly builds.<br>
Generated with the jenkins-job-builder config introduced in
<a href="https://osmocom.org/issues/3268">OS#3268</a>.<br>
See <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites">
TTCN3 Testsuite</a> for more information.
node: ttcn3
parameters:
- string:
name: BRANCH
description: |
Branch of <code>docker-playground.git</code>.
Only modify if you are hacking on the docker-playground scripts.
default: '*/master'
builders:
- shell: |-
case "{job-name}" in
*-latest)
cd "$(echo "{job-name}" | sed s/\-latest$//)"
IMAGE_SUFFIX="latest" ./jenkins.sh
;;
*)
cd "{job-name}"
IMAGE_SUFFIX="master" ./jenkins.sh
;;
esac
scm:
- git:
branches:
- '$BRANCH'
url: git://git.osmocom.org/docker-playground
git-config-name: 'Jenkins Builder'
git-config-email: 'jenkins@osmocom.org'
triggers:
- timed: "{obj:timer}"
publishers:
- junit:
results: '**/junit-xml-*.log'
allow-empty-results: false
- email:
notify-every-unstable-build: true
recipients: laforge@gnumonks.org
send-to-individuals: false
- archive:
allow-empty: false
artifacts: logs/**/*
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
properties:
- build-blocker:
use-build-blocker: true
blocking-jobs:
- "{obj:blocking}"
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
# vim: expandtab tabstop=2 shiftwidth=2
|