jjb: lttng-ust: Add debug-rcu as conf value
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 23 Jan 2017 22:28:52 +0000 (17:28 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 25 Jan 2017 21:18:40 +0000 (16:18 -0500)
When conf == debug-rcu import artifacts from "liburcu/../conf=debug-rcu/..".
For all other conf values import artifacts from "liburcu/../conf=std/..".

jobs/lttng-ust.yaml

index c2208bc2993afdfc68f91976cc491caef5ce57e6..a3b300550b21fa125e9e8636b17510fffd99b1df 100644 (file)
          values: '{obj:build}'
 
     builders:
-      - copyartifact:
-          project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
-          which-build: last-successful
-          stable: false
-          filter: 'build/**'
-          target: 'deps/liburcu'
-          do-not-fingerprint: true
+      - conditional-step:
+          condition-kind: regex-match
+          label: '$conf'
+          regex: (std|agents)
+          on-evaluation-failure: run
+          steps:
+            - copyartifact:
+                project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
+                which-build: last-successful
+                stable: false
+                filter: 'build/**'
+                target: 'deps/liburcu'
+                do-not-fingerprint: true
+
+      - conditional-step:
+          condition-kind: regex-match
+          label: '$conf'
+          regex: (debug-rcu)
+          on-evaluation-failure: run
+          steps:
+            - copyartifact:
+                project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
+                which-build: last-successful
+                stable: false
+                filter: 'build/**'
+                target: 'deps/liburcu'
+                do-not-fingerprint: true
       - shell:
          !include-raw-escape: scripts/lttng-ust/build.sh
 
           buildtype: build
           arch: !!python/tuple [x86-32, x86-64]
           build: !!python/tuple [std, dist, oot, oot-dist]
-          conf: !!python/tuple [std, agents]
+          conf: !!python/tuple [std, agents, debug-rcu]
       - 'lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
This page took 0.023535 seconds and 4 git commands to generate.