X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-analyses.yaml;h=bb9306cfd273f2c2f14e2f998b8e7f7e7511ba03;hb=673cb703fac1feb1c5854cc0eeb0f4c2ba88f3dc;hp=a47c0761cd0cbe474c71e48403dd4056af6ceb3e;hpb=b330701d0944a1bb720392dda342d812df284b6a;p=lttng-ci.git diff --git a/jobs/lttng-analyses.yaml b/jobs/lttng-analyses.yaml index a47c076..bb9306c 100644 --- a/jobs/lttng-analyses.yaml +++ b/jobs/lttng-analyses.yaml @@ -21,11 +21,12 @@ scm: - git: - url: git://github.com/lttng/lttng-analyses.git + url: git://github.com/{github_user}/{github_name}.git browser: githubweb - browser-url: https://github.com/lttng/lttng-analyses + browser-url: https://github.com/{github_user}/{github_name} branches: - origin/{version} + basedir: src/lttng-analyses triggers: - pollscm: @@ -33,10 +34,38 @@ properties: - github: - url: https://github.com/lttng/lttng-analyses + url: https://github.com/{github_user}/{github_name} ## Templates +- job-template: + name: lttng-analyses_{version}_build + defaults: lttng-analyses + + project-type: matrix + node: 'master' # Applies only to matrix flyweight task + axes: + - axis: + type: slave + name: arch + values: '{obj:arch}' + + builders: + - copyartifact: + project: babeltrace_master_build/arch=${{arch}},build=std,conf=python-bindings + which-build: last-successful + stable: true + filter: 'build/**' + target: 'deps/babeltrace' + - shell: + !include-raw-escape: scripts/lttng-analyses/build.sh + +# publishers: +# - archive: +# artifacts: 'build/**' +# allow-empty: false + + - job-template: name: lttng-analyses_{version}_pylint defaults: lttng-analyses @@ -54,7 +83,7 @@ filter: 'build/**' target: 'deps/babeltrace' - shell: - !include-raw-escape scripts/lttng-analyses/pylint.sh + !include-raw-escape: scripts/lttng-analyses/pylint.sh publishers: - archive: @@ -79,8 +108,12 @@ ## Project - project: name: lttng-analyses + github_user: lttng + github_name: lttng-analyses version: - master jobs: + - 'lttng-analyses_{version}_build': + arch: !!python/tuple [x86-32, x86-64] - 'lttng-analyses_{version}_pylint'