X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=30622329cc86aaa8f93813cb865453633ac6eac6;hb=2041dd285e93ae142b8df7dc225793d3101ce261;hp=82d82f45007daccf4d3b14445622ea112b109eae;hpb=598af4633e637805c844f06513d36a1703f1dc78;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 82d82f4..3062232 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -2,7 +2,9 @@ - defaults: name: lttng-modules description: | - TODO + Build lttng-modules against different Linux kernels. + +

Job is managed by Jenkins Job Builder.

project-type: freestyle @@ -18,25 +20,28 @@ - ansicolor scm: - - git: - url: git://artifacts.internal.efficios.com/git/linux-stable.git - branches: - - refs/tags/v{kversion} - shallow-clone: true - basedir: linux - git: url: git://github.com/lttng/lttng-modules.git + browser: githubweb + browser-url: https://github.com/efficios/lttng-modules branches: - "{mversion}" + shallow-clone: true + skip-tag: true + fastpoll: true basedir: lttng-modules triggers: - - pollscm: "@yearly" + - pollscm: + cron: "@daily" properties: + - github: + url: https://github.com/efficios/lttng-modules - throttle: max-per-node: 0 max-total: 0 + option: category categories: - 'lttng-module-linux' @@ -47,6 +52,7 @@ defaults: lttng-modules project-type: matrix + node: 'x86-32 || x86-64' # Applies only to matrix flyweight task axes: - axis: type: slave @@ -60,6 +66,9 @@ stable: true filter: 'build/**' target: 'deps/linux' + do-not-fingerprint: true + - 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 @@ -67,8 +76,34 @@ - archive: artifacts: 'build/**' allow-empty: false - fingerprint: true + - workspace-cleanup +- job-template: + name: lttng-modules_{version}_coverity + defaults: lttng-modules + node: 'x86-64' + + triggers: + - pollscm: + cron: "@daily" + + 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 ## Project - project: @@ -81,6 +116,8 @@ - 'lttng-modules_{mversion}_{kversion}_{buildtype}': buildtype: build arch: !!python/tuple [x86-32, x86-64] - - 'lttng-modules_{mversion}_{kversion}_{buildtype}': - buildtype: portbuild - arch: !!python/tuple [armhf, powerpc] + #- 'lttng-modules_{mversion}_{kversion}_{buildtype}': + # buildtype: portbuild + # arch: !!python/tuple [armhf, powerpc] + - 'lttng-modules_{version}_coverity': + version: master