jjb: babeltrace: cleanup yaml job definition
[lttng-ci.git] / jobs / binutils-gdb.yaml
index f30f4fd39ff8328b84688a2028ae9726566b3727..fa88daa5bbcc2af628f87fdf1c578d951f0db214 100644 (file)
          type: slave
          name: arch
          values: '{obj:arch}'
+      - axis:
+         type: user-defined
+         name: target_board
+         values: '{obj:target_board}'
 
     builders:
       - shell:
           allow-empty: false
       - junit:
           results: 'results/*.xml'
+      - email:
+          recipients: 'simon.marchi@efficios.com'
+
+    builders:
+      - shell:
+         !include-raw-escape:
+           - scripts/common/print.sh
+           - scripts/binutils-gdb/build.sh
+
+    publishers:
+      - archive:
+          artifacts: 'build/**,results/**'
+          allow-empty: false
+      - junit:
+          results: 'results/*.xml'
+      - email:
+          recipients: 'simon.marchi@efficios.com'
 
 - job-template:
     name: dev_gerrit_binutils-gdb_build
     defaults: binutils-gdb
     concurrent: true
 
+    project-type: matrix
+
     scm:
       - git:
           url: https://review.lttng.org/binutils-gdb
                 - branch-compare-type: 'ANT'
                   branch-pattern: '**'
 
-    node: 'amd64'
+    node: 'master'
+    axes:
+      - axis:
+         type: slave
+         name: arch
+         values: '{obj:arch}'
+      - axis:
+         type: user-defined
+         name: target_board
+         values: '{obj:target_board}'
 
     builders:
       - shell:
            - scripts/common/print.sh
            - scripts/binutils-gdb/build.sh
 
+    publishers:
+      - archive:
+          artifacts: 'results/**'
+          allow-empty: false
+      - junit:
+          results: 'results/*.xml'
+
     properties:
       - build-discarder:
           days-to-keep: 1
     jobs:
       - 'binutils-gdb_{version}_build':
           arch: !!python/tuple [amd64]
+          target_board: !!python/tuple ["unix", "native-gdbserver", "native-extended-gdbserver"]
 
 - project:
     name: gerrit-gdb
     jobs:
-      - 'dev_gerrit_binutils-gdb_build'
+      - 'dev_gerrit_binutils-gdb_build':
+          arch: !!python/tuple [amd64]
+          target_board: !!python/tuple ["unix", "native-gdbserver", "native-extended-gdbserver"]
 
 - project:
     name: gdb-views
This page took 0.034287 seconds and 4 git commands to generate.