X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=4c0d6ade09253f09252c972442cd9464cf429ec6;hb=673cb703fac1feb1c5854cc0eeb0f4c2ba88f3dc;hp=c2743a46b456ff16dab3f567ece982a72cb5864e;hpb=f3d8604b477b84631d624aed305afdd944ffa5c6;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index c2743a4..4c0d6ad 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -19,9 +19,9 @@ scm: - git: - url: git://github.com/lttng/lttng-modules.git + url: git://github.com/{github_user}/{github_name}.git browser: githubweb - browser-url: https://github.com/lttng/lttng-modules + browser-url: https://github.com/{github_user}/{github_name} branches: - "{mversion}" shallow-clone: true @@ -35,7 +35,7 @@ properties: - github: - url: https://github.com/lttng/lttng-modules + url: https://github.com/{github_user}/{github_name} ## Templates @@ -73,6 +73,14 @@ - job-template: name: lttng-modules_{mversion}_build-vanilla defaults: lttng-modules + description: | + The LTTng modules provide Linux kernel tracing capability to the LTTng + 2.0 tracer toolset. + + This job will build the {mversion} branch against all stable vanilla + kernel tags. + +

Job is managed by Jenkins Job Builder.

node: 'master' @@ -83,7 +91,7 @@ description: 'The lttng-modules branch to build.' - string: name: 'maxConcurrentBuild' - default: '4' + default: '20' description: 'The maximum number of concurrent child build to run.' - string: name: 'kverfloor' @@ -101,7 +109,7 @@ builders: - system-groovy: command: - !include-raw-escape: scripts/lttng-modules/master.groovy + !include-raw-escape: scripts/lttng-modules/master-vanilla.groovy publishers: - workspace-cleanup @@ -109,6 +117,14 @@ - job-template: name: lttng-modules_{mversion}_build-{uversion} defaults: lttng-modules + description: | + The LTTng modules provide Linux kernel tracing capability to the LTTng + 2.0 tracer toolset. + + This job will build the {mversion} branch against all Ubuntu {uversion} + released kernels, including the LTS backport kernels. + +

Job is managed by Jenkins Job Builder.

node: 'master' @@ -119,7 +135,7 @@ description: 'The lttng-modules branch to build.' - string: name: 'maxConcurrentBuild' - default: '4' + default: '20' description: 'The maximum number of concurrent child build to run.' - string: name: 'uversion' @@ -142,6 +158,50 @@ publishers: - workspace-cleanup +- job-template: + name: lttng-modules_{mversion}_build-rt + defaults: lttng-modules + description: | + The LTTng modules provide Linux kernel tracing capability to the LTTng + 2.0 tracer toolset. + + This job will build the {mversion} branch against all Linutronix RT + kernels. + +

Job is managed by Jenkins Job Builder.

+ + node: 'master' + + parameters: + - string: + name: 'mversion' + default: '{mversion}' + description: 'The lttng-modules branch to build.' + - string: + name: 'maxConcurrentBuild' + default: '20' + description: 'The maximum number of concurrent child build to run.' + - string: + name: 'kverfloor' + default: 'v2.6.36-rt0-rebase' + description: 'The lowest kernel version to build.' + - string: + name: 'kgitrepo' + default: 'git://artifacts.internal.efficios.com/git/linux-rt-devel.git' + description: 'The linux kernel git repository url.' + - string: + name: 'kbuildjob' + default: 'lttng-modules_VERSION_param-build' + description: 'The parametrized job to use for child builds.' + + builders: + - system-groovy: + command: + !include-raw-escape: scripts/lttng-modules/master-rt.groovy + + publishers: + - workspace-cleanup + - job-template: name: lttng-modules_VERSION_param-build defaults: lttng-modules @@ -175,7 +235,7 @@ concurrent: true logrotate: - daysToKeep: -1 + daysToKeep: 2 scm: - git: @@ -185,11 +245,13 @@ branches: - "${{mversion}}" skip-tag: true - basedir: lttng-modules + basedir: src/lttng-modules + + triggers: builders: - shell: | - git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" linux + git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux - shell: !include-raw-escape: scripts/lttng-modules/param-build.sh @@ -225,6 +287,13 @@ password: COVERITY_SCAN_TOKEN builders: + - shell: | + git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux + cd linux + make defconfig + sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config + make modules_prepare + cd .. - shell: !include-raw-escape: scripts/common/coverity.sh @@ -263,14 +332,44 @@ notify-every-unstable-build: true send-to-individuals: false +- job-template: + name: lttng-modules_{mversion}_sloccount + defaults: lttng-modules + description: | + The LTTng modules provide Linux kernel tracing capability to the LTTng + 2.0 tracer toolset. + + This job runs the sloccount utility and generates a trend report. + +

Job is managed by Jenkins Job Builder.

+ + triggers: + - pollscm: + cron: "@daily" + + builders: + - shell: | + cloc --by-file --xml --out=cloc.xml lttng-modules/ + + publishers: + - archive: + artifacts: 'cloc.xml' + allow-empty: false + - sloccount: + report-files: 'cloc.xml' + ## Project - project: name: lttng-modules + github_user: lttng + github_name: lttng-modules mversion: !include: jobs/inc/lttng-modules-versions.yaml.inc jobs: - 'lttng-modules_{mversion}_build-vanilla' + - 'lttng-modules_{mversion}_build-rt': + mversion: master - 'lttng-modules_{mversion}_build-{uversion}': uversion: - trusty @@ -278,5 +377,7 @@ - 'lttng-modules_VERSION_param-build': arch: !!python/tuple [x86-32, x86-64] - 'lttng-modules_{mversion}_cppcheck' + - 'lttng-modules_{mversion}_sloccount': + mversion: master - 'lttng-modules_{mversion}_coverity': mversion: master