X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=f834f2331fc5b5b323157ae3c9e19e711ddc8ded;hb=ef63064fd40c71fa23ea36a9121d06936b361add;hp=30622329cc86aaa8f93813cb865453633ac6eac6;hpb=4f3fef7db3cd4861b4af1d537dd1968eaee6fe88;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 3062232..f834f23 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -2,7 +2,8 @@ - defaults: name: lttng-modules description: | - Build lttng-modules against different Linux kernels. + The LTTng modules provide Linux kernel tracing capability to the LTTng + 2.0 tracer toolset.

Job is managed by Jenkins Job Builder.

@@ -52,7 +53,7 @@ defaults: lttng-modules project-type: matrix - node: 'x86-32 || x86-64' # Applies only to matrix flyweight task + node: 'master' # Applies only to matrix flyweight task axes: - axis: type: slave @@ -70,7 +71,7 @@ - shell: | git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux - shell: - !include-raw-escape scripts/lttng-modules/build.sh + !include-raw-escape: scripts/lttng-modules/build.sh publishers: - archive: @@ -79,7 +80,7 @@ - workspace-cleanup - job-template: - name: lttng-modules_{version}_coverity + name: lttng-modules_{mversion}_coverity defaults: lttng-modules node: 'x86-64' @@ -87,6 +88,14 @@ - pollscm: cron: "@daily" + scm: + - git: + url: git://github.com/lttng/lttng-modules.git + browser: githubweb + browser-url: https://github.com/efficios/lttng-modules + branches: + - "{mversion}" + wrappers: - workspace-cleanup - timestamps @@ -100,18 +109,51 @@ builders: - shell: - !include-raw-escape scripts/common/coverity.sh + !include-raw-escape: scripts/common/coverity.sh publishers: - workspace-cleanup +- job-template: + name: lttng-modules_{mversion}_cppcheck + defaults: lttng-modules + + triggers: + - pollscm: + cron: "@daily" + + scm: + - git: + url: git://github.com/lttng/lttng-modules.git + browser: githubweb + browser-url: https://github.com/efficios/lttng-modules + branches: + - "{mversion}" + + builders: + - shell: | + rm -f cppcheck.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck.xml + + publishers: + - archive: + artifacts: 'cppcheck.xml' + allow-empty: false + - cppcheck: + pattern: 'cppcheck.xml' + - email: + recipients: 'ci-notification@lists.lttng.org' + notify-every-unstable-build: true + send-to-individuals: false + + ## Project - project: name: lttng-modules mversion: - !include jobs/inc/lttng-modules-versions.yaml.inc + !include: jobs/inc/lttng-modules-versions.yaml.inc kversion: - !include jobs/inc/kernel-versions.yaml.inc + !include: jobs/inc/kernel-versions.yaml.inc jobs: - 'lttng-modules_{mversion}_{kversion}_{buildtype}': buildtype: build @@ -119,5 +161,6 @@ #- 'lttng-modules_{mversion}_{kversion}_{buildtype}': # buildtype: portbuild # arch: !!python/tuple [armhf, powerpc] - - 'lttng-modules_{version}_coverity': - version: master + - 'lttng-modules_{mversion}_cppcheck' + - 'lttng-modules_{mversion}_coverity': + mversion: master