3 - lttng-modules_build_parameters_defaults: <tng-modules_build_parameters_defaults
4 name: 'lttng-modules_build_parameters_defaults'
7 name: 'maxConcurrentBuild'
9 description: 'The maximum number of concurrent child build to run.'
12 default: '{kverfloor}'
13 description: 'The lowest kernel version to build.'
17 description: 'The highest kernel version to build. (excluded)'
20 default: '{kverfilter}'
21 description: 'Kernel versions list filtering strategy.'
25 description: 'Add latest RC to kernel versions list.'
28 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
29 description: 'The linux kernel git repository url.'
32 default: 'lttng-modules_PARAM_{parambuildtype}'
33 description: 'The parametrized job to use for child builds.'
35 - lttng-modules_build_parameters_gerrit: <tng-modules_build_parameters_gerrit
36 name: 'lttng-modules_build_parameters_defaults'
39 name: 'maxConcurrentBuild'
41 description: 'The maximum number of concurrent child build to run.'
44 default: '{kverfloor}'
45 description: 'The lowest kernel version to build.'
49 description: 'The highest kernel version to build. (excluded)'
52 default: '{kverfilter}'
53 description: 'Kernel versions list filtering strategy.'
57 description: 'Add latest RC to kernel versions list.'
60 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
61 description: 'The linux kernel git repository url.'
64 default: 'lttng-modules_PARAM_build'
65 description: 'The parametrized job to use for child builds.'
67 - lttng-modules_build_parameters_ubuntu: <tng-modules_build_parameters_ubuntu
68 name: 'lttng-modules_build_parameters_ubuntu'
71 name: 'maxConcurrentBuild'
73 description: 'The maximum number of concurrent child build to run.'
76 default: '{kverfloor}'
77 description: 'The lowest kernel version to build.'
81 description: 'The highest kernel version to build. (excluded)'
84 default: '{kverfilter}'
85 description: 'Kernel versions list filtering strategy.'
89 description: 'Add latest RC to kernel versions list.'
92 default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git'
93 description: 'The linux kernel git repository url.'
96 default: 'lttng-modules_PARAM_{parambuildtype}'
97 description: 'The parametrized job to use for child builds.'
100 default: '{uversion}'
101 description: 'The lowest kernel version to build.'
103 - lttng-modules_build_parameters_rt: <tng-modules_build_parameters_rt
104 name: 'lttng-modules_build_parameters_rt'
107 name: 'maxConcurrentBuild'
109 description: 'The maximum number of concurrent child build to run.'
112 default: 'v2.6.36-rt0-rebase'
113 description: 'The lowest kernel version to build.'
116 default: '{kverceil}'
117 description: 'The highest kernel version to build. (excluded)'
120 default: '{kverfilter}'
121 description: 'Kernel versions list filtering strategy.'
125 description: 'Add latest RC to kernel versions list.'
128 default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-stable-rt.git'
129 description: 'The linux kernel git repository url.'
132 default: 'lttng-modules_PARAM_build'
133 description: 'The parametrized job to use for child builds.'
135 - lttng-modules_build_builders_defaults: <tng-modules_build_builders_defaults
136 name: 'lttng-modules_build_builders_defaults'
140 !include-raw-escape: scripts/lttng-modules/master.groovy
142 - lttng-modules_build_rt_builders_defaults: <tng-modules_build_rt_builders_defaults
143 name: 'lttng-modules_build_rt_builders_defaults'
147 !include-raw-escape: scripts/lttng-modules/master-rt.groovy
154 The LTTng modules provide Linux kernel tracing capability to the LTTng
157 <p>Job is managed by Jenkins Job Builder.</p>
159 project-type: freestyle
168 url: https://github.com/{github_user}/{github_name}.git
170 browser-url: https://github.com/{github_user}/{github_name}
172 - "refs/heads/{mversion}"
175 basedir: src/lttng-modules
176 wipe-workspace: false
187 url: https://github.com/{github_user}/{github_name}
192 recipients: '{obj:email_to}'
193 reply-to: ci-notification@lists.lttng.org
202 second-failure: false
207 fixed-unhealthy: true
208 still-unstable: false
210 matrix-trigger: only-parent
217 name: lttng-modules_ALL_trigger-vanilla
218 defaults: lttng-modules
220 The LTTng modules provide Linux kernel tracing capability to the LTTng
223 This job will trigger the build jobs when a new tag is added to the vanilla
224 and stable kernel trees.
226 <p>Job is managed by Jenkins Job Builder.</p>
242 !include-raw-escape: scripts/lttng-modules/trigger-vanilla.groovy
247 name: lttng-modules_{mversion}_{buildtype}-vanilla
248 defaults: lttng-modules
250 The LTTng modules provide Linux kernel tracing capability to the LTTng
253 This job will build the {mversion} branch against stable vanilla
256 <p>Job is managed by Jenkins Job Builder.</p>
260 <<: *lttng-modules_build_parameters_defaults
261 <<: *lttng-modules_build_builders_defaults
264 name: dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla
265 defaults: lttng-modules
267 The LTTng modules provide Linux kernel tracing capability to the LTTng
270 This job will build the {mversion} branch against stable vanilla
273 <p>Job is managed by Jenkins Job Builder.</p>
279 name: 'maxConcurrentBuild'
281 description: 'The maximum number of concurrent child build to run.'
284 default: '{kverfloor}'
285 description: 'The lowest kernel version to build.'
288 default: '{kverceil}'
289 description: 'The highest kernel version to build. (excluded)'
292 default: '{kverfilter}'
293 description: 'Kernel versions list filtering strategy.'
297 description: 'Add latest RC to kernel versions list.'
300 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
301 description: 'The linux kernel git repository url.'
304 default: 'dev_mjeanson_lttng-modules_PARAM_{parambuildtype}'
305 description: 'The parametrized job to use for child builds.'
307 <<: *lttng-modules_build_builders_defaults
310 name: dev_gerrit_lttng-modules_build
311 defaults: lttng-modules
318 url: https://review.lttng.org/lttng-modules
319 refspec: 'refs/changes/*:refs/changes/*'
322 basedir: src/lttng-modules
328 - comment-added-event:
329 approval-category: 'CI-Build'
332 - project-compare-type: 'PLAIN'
333 project-pattern: 'lttng-modules'
335 - branch-compare-type: 'ANT'
346 <<: *lttng-modules_build_parameters_gerrit
347 <<: *lttng-modules_build_builders_defaults
353 name: lttng-modules_{mversion}_fullbuild-vanilla
354 defaults: lttng-modules
356 The LTTng modules provide Linux kernel tracing capability to the LTTng
359 This job will build the {mversion} branch against all stable vanilla
362 <p>Job is managed by Jenkins Job Builder.</p>
366 <<: *lttng-modules_build_parameters_defaults
367 <<: *lttng-modules_build_builders_defaults
374 name: lttng-modules_{mversion}_{buildtype}-{uversion}
375 defaults: lttng-modules
377 The LTTng modules provide Linux kernel tracing capability to the LTTng
380 This job will build the {mversion} branch against Ubuntu {uversion}
381 released kernels, including the LTS backport kernels.
383 <p>Job is managed by Jenkins Job Builder.</p>
387 <<: *lttng-modules_build_parameters_ubuntu
388 <<: *lttng-modules_build_builders_defaults
391 name: lttng-modules_{mversion}_fullbuild-{uversion}
392 defaults: lttng-modules
394 The LTTng modules provide Linux kernel tracing capability to the LTTng
397 This job will build the {mversion} branch against Ubuntu {uversion}
398 released kernels, including the LTS backport kernels.
400 <p>Job is managed by Jenkins Job Builder.</p>
404 <<: *lttng-modules_build_parameters_ubuntu
405 <<: *lttng-modules_build_builders_defaults
412 name: lttng-modules_{mversion}_build-rt
413 defaults: lttng-modules
415 The LTTng modules provide Linux kernel tracing capability to the LTTng
418 This job will build the {mversion} branch against all Linutronix RT
421 <p>Job is managed by Jenkins Job Builder.</p>
425 <<: *lttng-modules_build_parameters_rt
426 <<: *lttng-modules_build_rt_builders_defaults
429 name: lttng-modules_PARAM_build
430 defaults: lttng-modules
432 This is a parametrized job used by 'master' jobs to build any combinations
433 of lttng-modules and linux kernel versions.
435 <p>Job is managed by Jenkins Job Builder.</p>
438 node: 'master' # Applies only to matrix flyweight task
453 description: 'The lttng-modules branch to build.'
456 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
457 description: 'The lttng-modules git repository url.'
461 description: 'The linux kernel git tag to build against.'
464 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
465 description: 'The linux kernel git repository url.'
475 !include-raw-escape: scripts/lttng-modules/param-build.sh
481 name: dev_mjeanson_lttng-modules_PARAM_build
482 defaults: lttng-modules
484 This is a parametrized job used by 'master' jobs to build any combinations
485 of lttng-modules and linux kernel versions.
487 <p>Job is managed by Jenkins Job Builder.</p>
490 node: 'master' # Applies only to matrix flyweight task
505 description: 'The lttng-modules branch to build.'
508 default: 'https://github.com/{github_user}/lttng-modules.git'
509 description: 'The lttng-modules git repository url.'
513 description: 'The linux kernel git tag to build against.'
516 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
517 description: 'The linux kernel git repository url.'
527 !include-raw-escape: scripts/lttng-modules/param-build.sh
534 name: lttng-modules_PARAM_crossbuild
535 defaults: lttng-modules
537 This is a parametrized job used by 'master' jobs to build any combinations
538 of lttng-modules and linux kernel versions.
540 <p>Job is managed by Jenkins Job Builder.</p>
543 node: 'master' # Applies only to matrix flyweight task
548 values: '{obj:cross_arch}'
558 description: 'The lttng-modules branch to build.'
561 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
562 description: 'The lttng-modules git repository url.'
566 description: 'The linux kernel git tag to build against.'
569 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
570 description: 'The linux kernel git repository url.'
580 !include-raw-escape: scripts/lttng-modules/param-build.sh
586 name: lttng-modules_{mversion}_coverity
587 defaults: lttng-modules
599 - credentials-binding:
600 - username-password-separated:
601 credential-id: lttng-modules_coverity_token
602 username: COVERITY_SCAN_PROJECT_NAME
603 password: COVERITY_SCAN_TOKEN
607 git clone --depth=1 -b v5.5 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
610 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
613 !include-raw-escape: scripts/common/coverity.sh
617 artifacts: 'analysis-results.tgz,cov-int/**'
622 name: lttng-modules_{mversion}_cppcheck
623 defaults: lttng-modules
631 rm -f cppcheck-result.xml
632 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml
636 artifacts: 'cppcheck-result.xml'
639 pattern: 'cppcheck-result.xml'
642 name: lttng-modules_{mversion}_sloccount
643 defaults: lttng-modules
645 The LTTng modules provide Linux kernel tracing capability to the LTTng
648 This job runs the sloccount utility and generates a trend report.
650 <p>Job is managed by Jenkins Job Builder.</p>
658 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
662 artifacts: 'cloc.xml'
665 report-files: 'cloc.xml'
673 github_name: lttng-modules
674 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
677 # Vanilla normal builds
678 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
683 parambuildtype: build
686 kverfilter: stable-head
687 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
691 parambuildtype: build
694 kverfilter: stable-head
695 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
699 parambuildtype: build
702 kverfilter: stable-head
703 - 'lttng-modules_{mversion}_fullbuild-vanilla':
708 parambuildtype: build
712 - 'lttng-modules_{mversion}_fullbuild-vanilla':
716 parambuildtype: build
720 - 'lttng-modules_{mversion}_fullbuild-vanilla':
724 parambuildtype: build
730 - 'lttng-modules_{mversion}_build-rt':
733 kverfilter: stable-head
735 # Ubuntu normal builds
736 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
747 parambuildtype: build
750 kverfilter: stable-head
752 # Vanilla crossbuilds
753 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
758 buildtype: crossbuild
759 parambuildtype: crossbuild
762 kverfilter: stable-head
764 # Ubuntu cross builds
765 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
774 buildtype: crossbuild
775 parambuildtype: crossbuild
778 kverfilter: stable-head
780 # Parametrized kernel and modules build jobs
781 - 'lttng-modules_PARAM_build':
782 arch: !!python/tuple [amd64]
783 - 'lttng-modules_PARAM_crossbuild':
784 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
787 - 'lttng-modules_ALL_trigger-vanilla'
788 - 'lttng-modules_{mversion}_cppcheck':
793 - 'lttng-modules_{mversion}_sloccount':
795 - 'lttng-modules_{mversion}_coverity':
799 name: lttng-modules-gerrit
801 - 'dev_gerrit_lttng-modules_build':
804 kverfilter: stable-head
807 name: lttng-modules-dev-mjeanson
808 github_user: mjeanson
809 github_name: lttng-modules
812 - 'dev_mjeanson_lttng-modules_PARAM_build':
813 arch: !!python/tuple [amd64]
814 - 'dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla':
818 parambuildtype: build
821 kverfilter: stable-head