X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=7c5fb39515b5898d381e2b95196f1333a1c63ff4;hb=ce1e1df3684463280e8823595be6a481f39bdbc0;hp=1ee4d54ac0d830bc19aabc488e3d999befe88127;hpb=9a00aa82d596dce1173f94d3a1bbfb54dcf30dca;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 1ee4d54..7c5fb39 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.

@@ -32,7 +33,8 @@ basedir: lttng-modules triggers: - - pollscm: "@daily" + - pollscm: + cron: "@daily" properties: - github: @@ -51,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 @@ -77,6 +79,73 @@ allow-empty: false - workspace-cleanup +- job-template: + name: lttng-modules_{mversion}_coverity + defaults: lttng-modules + node: 'x86-64' + + 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}" + + wrappers: + - workspace-cleanup + - timestamps + - ansicolor: + colormap: xterm + - credentials-binding: + - username-password-separated: + credential-id: lttng-modules_coverity_token + username: COVERITY_SCAN_PROJECT_NAME + password: COVERITY_SCAN_TOKEN + + builders: + - shell: + !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: @@ -92,3 +161,6 @@ #- 'lttng-modules_{mversion}_{kversion}_{buildtype}': # buildtype: portbuild # arch: !!python/tuple [armhf, powerpc] + - 'lttng-modules_{mversion}_cppcheck' + - 'lttng-modules_{mversion}_coverity': + mversion: master