2 name: lttng-baremetal-tests
7 project-type: freestyle
11 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
17 basedir: src/lttng-tools
19 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
25 basedir: src/lttng-modules
27 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
41 recipients: 'francis.deslauriers@efficios.com'
45 name: baremetal_tests_k{kversion}_l{lttngversion}
47 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
48 defaults: lttng-baremetal-tests
59 - credentials-binding:
61 credential-id: jenkins_lava_key
62 variable: LAVA_FRDESO_TOKEN
65 TOOLS_BRANCH={lttngversion}
66 UST_BRANCH={lttngversion}
70 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
72 - project: "build_kernel_PARAM"
73 property-file: 'properties.txt'
76 properties-file: properties.txt
77 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-tests.sh
80 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
82 Runs baremetal kernel benchmarks over different combination of kernel and lttng configurations.
83 defaults: lttng-baremetal-tests
95 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
101 basedir: src/lttng-tools
103 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
109 basedir: src/lttng-modules
111 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
122 - credentials-binding:
124 credential-id: jenkins_lava_key
125 variable: LAVA_FRDESO_TOKEN
127 properties-content: |
128 BUILD_DEVICE=baremetal
130 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
132 - project: "build_kernel_PARAM"
133 property-file: 'properties.txt'
136 properties-file: properties.txt
137 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-benchmarks.sh
140 name: build_kernel_PARAM
142 Builds a Linux Kernel and LTTng Modules if necessary
154 - credentials-binding:
156 credential-id: lava_jenkins_storage_frdeso
157 variable: identity_file
159 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
161 properties-file: properties.txt
162 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
166 condition-kind: file-exists
167 condition-filename: kernel-built.txt
168 condition-basedir: workspace
170 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
174 condition-kind: file-exists
175 condition-filename: modules-built.txt
176 condition-basedir: workspace
178 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
182 name: 'LTTNG_MODULES_COMMIT_ID'
183 description: 'The lttng-modules commmit to build.'
185 name: 'KERNEL_COMMIT_ID'
186 description: 'The kernel commit to build.'
189 description: 'The kernel git repo to fetch from'
191 name: 'STORAGE_KERNEL_FOLDER'
192 description: 'Path to store the Kernel image'
194 name: 'STORAGE_KERNEL_IMAGE'
195 description: 'Path to store the Kernel IMAGE'
197 name: 'STORAGE_LINUX_MODULES'
198 description: 'Path to store the Kernel Modules'
200 name: 'STORAGE_LTTNG_MODULES'
201 description: 'Path to store the LTTng Modules'
204 description: 'The target device. (kvm or baremetal)'
208 name: lttng-kernel-tests
218 - 'baremetal_tests_k{kversion}_l{lttngversion}'
219 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
222 name: lttng-kernel-tests-oldkernel
229 - 'baremetal_tests_k{kversion}_l{lttngversion}':
230 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':