Use GERRIT_BRANCH to use the correct lttng-ust artifacts
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 17 Apr 2020 22:07:33 +0000 (18:07 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 17 Apr 2020 22:07:33 +0000 (18:07 -0400)
The GERRIT_BRANCH matches between ust and tools afaik.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
jobs/lttng-tools.yaml

index 00db6ef2d939363f0dad7911c3f9fa85e1ac7150..d9bbe72f209fcdd3e5a23fd25890f6099721f888 100644 (file)
                 regex: (std|static|agents|debug-rcu)
           steps:
             - copyartifact:
-                project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
+                project: lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
+                project: lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
     jobs:
       - 'dev_gerrit_lttng-tools_{buildtype}':
           buildtype: build
-          ustversion: master
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, oot, dist, oot-dist]
           conf: !!python/tuple [std, no-ust, agents]
This page took 0.025341 seconds and 4 git commands to generate.