X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbabeltrace.yaml;h=26e3b01faa4b2bc499c2adc41c0f197458ac2410;hb=ce1e1df3684463280e8823595be6a481f39bdbc0;hp=659a45a3f8d40d13f32dfadc8dfd131db85de8a2;hpb=9a00aa82d596dce1173f94d3a1bbfb54dcf30dca;p=lttng-ci.git diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 659a45a..26e3b01 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -23,7 +23,8 @@ wrappers: - workspace-cleanup - timestamps - - ansicolor + - ansicolor: + colormap: xterm scm: - git: @@ -34,7 +35,8 @@ - origin/{version} triggers: - - pollscm: "@hourly" + - pollscm: + cron: "@hourly" properties: - github: @@ -47,7 +49,7 @@ defaults: babeltrace 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 @@ -59,7 +61,7 @@ values: - std - static - - python_bindings + - python-bindings - axis: type: user-defined name: build @@ -74,6 +76,7 @@ - tap: results: 'tap/**/*.tap' failed-tests-mark-build-as-failure: true + todo-is-failure: false - warnings: console-log-parsers: - 'GNU Make + GNU C Compiler (gcc)' @@ -86,13 +89,19 @@ - archive: artifacts: 'build/**' allow-empty: false + - ircbot: + strategy: new-failure-and-fixed + matrix-notifier: only-parent + channels: + - name: '#lttng' - job-template: name: babeltrace_{version}_cppcheck defaults: babeltrace triggers: - - pollscm: "@daily" + - pollscm: + cron: "@daily" builders: - shell: | @@ -116,7 +125,8 @@ node: 'x86-64' triggers: - - pollscm: "@daily" + - pollscm: + cron: "@daily" builders: - shell: @@ -128,24 +138,31 @@ dir: 'scan-build-archive/' files: 'index.html' -# TODO: babeltrace_{version}_coverity -#- job-template: -# name: babeltrace_{version}_coverity -# defaults: babeltrace -# node: 'x86-64' -# -# triggers: -# - pollscm: "@daily" -# -# builders: -# - shell: -# !include-raw-escape scripts/babeltrace/coverity.sh -# -# publishers: -# - html-publisher: -# name: 'HTML Report' -# dir: 'scan-build-archive/' -# files: 'index.html' +- job-template: + name: babeltrace_{version}_coverity + defaults: babeltrace + node: 'x86-64' + + triggers: + - pollscm: + cron: "@daily" + + wrappers: + - workspace-cleanup + - timestamps + - ansicolor: + colormap: xterm + - credentials-binding: + - username-password-separated: + credential-id: babeltrace_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: babeltrace_{version}_pylint @@ -155,15 +172,16 @@ scm: [] triggers: - - pollscm: "@daily" + - pollscm: + cron: "@daily" builders: - copyartifact: - project: babeltrace-{version}/arch=x86-64,build=std,conf=python_bindings + project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings which-build: last-successful stable: true filter: 'build/**' - target: 'dependencies/babeltrace' + target: 'deps/babeltrace' - shell: !include-raw-escape scripts/babeltrace/pylint.sh @@ -199,9 +217,11 @@ build: !!python/tuple [std, oot, dist] - 'babeltrace_{version}_{buildtype}': buildtype: portbuild - arch: !!python/tuple [armhf, powerpc] + arch: !!python/tuple [armhf, powerpc, ppc64el] build: !!python/tuple [std] - 'babeltrace_{version}_cppcheck' - 'babeltrace_{version}_scan-build' - 'babeltrace_{version}_pylint' + - 'babeltrace_{version}_coverity': + version: master