X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-analyses.yaml;h=f79c637841510958858ae0e462906ff49c8bf673;hb=64ed2e0384d168574a1455d384c25db1ad00440d;hp=75737c22af156e01ae967a5be354d900cc27d664;hpb=51ca880af5b402543991845ffbd5894142c1ed53;p=lttng-ci.git diff --git a/jobs/lttng-analyses.yaml b/jobs/lttng-analyses.yaml index 75737c2..f79c637 100644 --- a/jobs/lttng-analyses.yaml +++ b/jobs/lttng-analyses.yaml @@ -7,17 +7,16 @@ project-type: freestyle - logrotate: - daysToKeep: -1 - numToKeep: 2 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - wrappers: - workspace-cleanup - timestamps - ansicolor: colormap: xterm + - credentials-binding: + - username-password-separated: + credential-id: lttng-analyses_codecov_token + username: CODECOV_PROJECT_NAME + password: CODECOV_TOKEN scm: - git: @@ -26,12 +25,16 @@ browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} + basedir: src/lttng-analyses + skip-tag: true triggers: - pollscm: cron: "@hourly" properties: + - build-discarder: + num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} @@ -48,27 +51,52 @@ type: slave name: arch values: '{obj:arch}' + - axis: + type: user-defined + name: babeltrace_version + values: '{obj:babeltrace_version}' builders: - copyartifact: - project: babeltrace_master_build/arch=${{arch}},build=std,conf=python-bindings + project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings which-build: last-successful - stable: true + stable: false filter: 'build/**' target: 'deps/babeltrace' - shell: !include-raw-escape: scripts/lttng-analyses/build.sh -# publishers: + publishers: # - archive: # artifacts: 'build/**' # allow-empty: false - + - email-ext: + recipients: '{obj:email_to}' + reply-to: ci-notification@lists.lttng.org + always: false + unstable: false + first-failure: true + first-unstable: true + not-built: false + aborted: false + regression: false + failure: false + second-failure: false + improvement: false + still-failing: false + success: false + fixed: false + fixed-unhealthy: true + still-unstable: false + pre-build: false + matrix-trigger: only-parent + send-to: + - recipients - job-template: name: lttng-analyses_{version}_pylint defaults: lttng-analyses - node: 'x86-64' + node: 'amd64' triggers: - pollscm: @@ -76,9 +104,9 @@ builders: - copyartifact: - project: babeltrace_master_build/arch=x86-64,build=std,conf=python-bindings + project: babeltrace_{babeltrace_version}_build/arch=amd64,build=std,conf=python-bindings which-build: last-successful - stable: true + stable: false filter: 'build/**' target: 'deps/babeltrace' - shell: @@ -98,21 +126,41 @@ min: 10 max: 999 unstable: 999 - - email: - recipients: 'ci-notification@lists.lttng.org' - notify-every-unstable-build: true - send-to-individuals: false - + - email-ext: + recipients: '{obj:email_to}' + reply-to: ci-notification@lists.lttng.org + always: false + unstable: false + first-failure: true + first-unstable: true + not-built: false + aborted: false + regression: false + failure: false + second-failure: false + improvement: false + still-failing: false + success: false + fixed: false + fixed-unhealthy: true + still-unstable: false + pre-build: false + matrix-trigger: only-parent + send-to: + - recipients ## Project - project: name: lttng-analyses github_user: lttng github_name: lttng-analyses + email_to: 'ci-notification@lists.lttng.org' version: - master jobs: - 'lttng-analyses_{version}_build': - arch: !!python/tuple [x86-32, x86-64] - - 'lttng-analyses_{version}_pylint' + arch: !!python/tuple [amd64] + babeltrace_version: !!python/tuple [stable-1.5] + - 'lttng-analyses_{version}_pylint': + babeltrace_version: stable-1.5