Use yaml anchor in preparation of developer jobs
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 11 Jan 2016 18:09:27 +0000 (13:09 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 11 Jan 2016 19:40:17 +0000 (14:40 -0500)
jobs/babeltrace.yaml

index d30974c3ef15b21d066a0c8a64264115b9387b5c..fdb6f29651c294afba29e4221bdfea85f295c1c7 100644 (file)
@@ -44,8 +44,9 @@
 
 
 ## Templates
-- job-template:
-    name: babeltrace_{version}_{buildtype}
+
+- babeltrace_version_buildtype_anchor: &babeltrace_version_buildtype_anchor
+    name: 'babeltrace_version_buildtype_anchor'
     defaults: babeltrace
 
     project-type: matrix
@@ -68,6 +69,9 @@
       - shell:
          !include-raw-escape: scripts/babeltrace/build.sh
 
+- job-template:
+    name: babeltrace_{version}_{buildtype}
+    <<: *babeltrace_version_buildtype_anchor
     # TODO: Scan for open tasks
     publishers:
       - tap:
This page took 0.023256 seconds and 4 git commands to generate.