description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
- default: 'lttng-modules_VERSION_param-{parambuildtype}'
+ default: 'lttng-modules_PARAM_{parambuildtype}'
description: 'The parametrized job to use for child builds.'
- lttng-modules_build_parameters_ubuntu: <tng-modules_build_parameters_ubuntu
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
- default: 'lttng-modules_VERSION_param-{parambuildtype}'
+ default: 'lttng-modules_PARAM_{parambuildtype}'
description: 'The parametrized job to use for child builds.'
- string:
name: 'uversion'
description: 'The linux kernel git repository url.'
- string:
name: 'kbuildjob'
- default: 'lttng-modules_VERSION_param-build'
+ default: 'lttng-modules_PARAM_build'
description: 'The parametrized job to use for child builds.'
- lttng-modules_build_builders_defaults: <tng-modules_build_builders_defaults
<<: *lttng-modules_build_rt_builders_defaults
- job-template:
- name: lttng-modules_VERSION_param-build
+ name: lttng-modules_PARAM_build
defaults: lttng-modules
description: |
This is a parametrized job used by 'master' jobs to build any combinations
name: 'mversion'
default: 'master'
description: 'The lttng-modules branch to build.'
+ - string:
+ name: 'mgitrepo'
+ default: 'git://github.com/lttng/lttng-modules.git'
+ description: 'The lttng-modules git repository url.'
- string:
name: 'ktag'
default: ''
concurrent: true
- scm:
- - git:
- url: git://github.com/lttng/lttng-modules.git
- browser: githubweb
- browser-url: https://github.com/lttng/lttng-modules
- branches:
- - "${{mversion}}"
- skip-tag: true
- basedir: src/lttng-modules
+ scm: []
triggers:
builders:
- - shell: |
- git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
- shell:
!include-raw-escape: scripts/lttng-modules/param-build.sh
publishers:
- workspace-cleanup
+
- job-template:
- name: lttng-modules_VERSION_param-crossbuild
+ name: lttng-modules_PARAM_crossbuild
defaults: lttng-modules
description: |
This is a parametrized job used by 'master' jobs to build any combinations
name: 'mversion'
default: 'master'
description: 'The lttng-modules branch to build.'
+ - string:
+ name: 'mgitrepo'
+ default: 'git://github.com/lttng/lttng-modules.git'
+ description: 'The lttng-modules git repository url.'
- string:
name: 'ktag'
default: ''
concurrent: true
- scm:
- - git:
- url: git://github.com/lttng/lttng-modules.git
- browser: githubweb
- browser-url: https://github.com/lttng/lttng-modules
- branches:
- - "${{mversion}}"
- skip-tag: true
- basedir: src/lttng-modules
+ scm: []
triggers:
builders:
- - shell: |
- git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
- shell:
!include-raw-escape: scripts/lttng-modules/param-build.sh
+
publishers:
- workspace-cleanup
- job-template:
name: lttng-modules_{mversion}_coverity
defaults: lttng-modules
- node: 'x86-64'
+ node: 'amd64'
triggers:
- pollscm:
builders:
- shell: |
- git clone --depth=1 -b v4.10 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
+ git clone --depth=1 -b v4.20 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
cd src/linux
make defconfig
sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
- shell:
!include-raw-escape: scripts/common/coverity.sh
+ publishers:
+ - archive:
+ artifacts: 'analysis-results.tgz,cov-int/**'
+ allow-empty: false
+ - workspace-cleanup
+
- job-template:
name: lttng-modules_{mversion}_cppcheck
defaults: lttng-modules
builders:
- shell: |
- rm -f cppcheck.xml
- cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
+ rm -f cppcheck-result.xml
+ cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml
publishers:
- archive:
- artifacts: 'cppcheck.xml'
+ artifacts: 'cppcheck-result.xml'
allow-empty: false
- cppcheck:
- pattern: 'cppcheck.xml'
+ pattern: 'cppcheck-result.xml'
- job-template:
name: lttng-modules_{mversion}_sloccount
# Vanilla normal builds
- 'lttng-modules_{mversion}_{buildtype}-vanilla':
mversion:
- - stable-2.9
- - stable-2.10
- - stable-2.11
- master
buildtype: build
parambuildtype: build
- kverfloor: v2.6.36
+ kverfloor: v3.0
kverceil: ''
kverfilter: stable-head
- 'lttng-modules_{mversion}_{buildtype}-vanilla':
- mversion: stable-2.7
+ mversion:
+ - stable-2.9
+ - stable-2.10
+ - stable-2.11
buildtype: build
parambuildtype: build
kverfloor: v2.6.36
- kverceil: v4.8-rc0
+ kverceil: ''
kverfilter: stable-head
- 'lttng-modules_{mversion}_fullbuild-vanilla':
mversion:
- - stable-2.9
- - stable-2.10
- - stable-2.11
- master
buildtype: build
parambuildtype: build
- kverfloor: v2.6.36
+ kverfloor: v3.0
kverceil: ''
kverfilter: none
- 'lttng-modules_{mversion}_fullbuild-vanilla':
- mversion: stable-2.7
+ mversion:
+ - stable-2.9
+ - stable-2.10
+ - stable-2.11
buildtype: build
parambuildtype: build
kverfloor: v2.6.36
- kverceil: v4.8-rc0
+ kverceil: ''
kverfilter: none
# RT normal builds
- stable-2.11
- master
uversion:
- - trusty
- xenial
+ - bionic
buildtype: build
parambuildtype: build
kverfloor: ''
- master
buildtype: crossbuild
parambuildtype: crossbuild
- kverfloor: v3.16
+ kverfloor: v3.18
kverceil: ''
kverfilter: stable-head
- - 'lttng-modules_{mversion}_{buildtype}-vanilla':
- mversion: stable-2.7
- buildtype: crossbuild
- parambuildtype: crossbuild
- kverfloor: v3.16
- kverceil: v4.8-rc0
- kverfilter: stable-head
# Ubuntu cross builds
- 'lttng-modules_{mversion}_{buildtype}-{uversion}':
- stable-2.11
- master
uversion:
- - trusty
- xenial
+ - bionic
buildtype: crossbuild
parambuildtype: crossbuild
kverfloor: ''
kverfilter: stable-head
# Parametrized kernel and modules build jobs
- - 'lttng-modules_VERSION_param-build':
- arch: !!python/tuple [x86-32, x86-64]
- - 'lttng-modules_VERSION_param-crossbuild':
+ - 'lttng-modules_PARAM_build':
+ arch: !!python/tuple [amd64]
+ - 'lttng-modules_PARAM_crossbuild':
cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
# Misc jobs