Use yaml anchor in preparation of developer jobs
[lttng-ci.git] / jobs / lttng-analyses.yaml
index bf9511bf5d1940bafd385e6e31911980fab70484..c698640e593ad0d3d5484d851bbac81b4868f810 100644 (file)
 
 
 ## 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
 
     builders:
        - copyartifact:
-           project: babeltrace-master/arch=x86-64,build=std,conf=python_bindings
+           project: babeltrace_master_build/arch=x86-64,build=std,conf=python-bindings
            which-build: last-successful
            stable: true
            filter: 'build/**'
            target: 'deps/babeltrace'
        - shell:
-          !include-raw-escape scripts/lttng-analyses/pylint.sh
+          !include-raw-escape: scripts/lttng-analyses/pylint.sh
 
     publishers:
       - archive:
     version:
       - master
     jobs:
+      - 'lttng-analyses_{version}_build':
+          arch: !!python/tuple [x86-32, x86-64]
       - 'lttng-analyses_{version}_pylint'
 
This page took 0.022729 seconds and 4 git commands to generate.