BRANCH is set by the github plugin to, say, origin/master. The
-setup jobs change that back to just 'master', so, copy their
saved env-setting artifact 'branch' as well so the parent job
can also use the short branch name in its build name.
Signed-off-by: Dan Mick <dmick@redhat.com>
which-build: multijob-build
- inject:
properties-file: ${WORKSPACE}/dist/sha1
+ - copyartifact:
+ project: ceph-dev-new-setup
+ filter: dist/branch
+ which-build: multijob-build
+ - inject:
+ properties-file: ${WORKSPACE}/dist/branch
- multijob:
name: 'ceph dev build phase'
condition: SUCCESSFUL
which-build: multijob-build
- inject:
properties-file: ${WORKSPACE}/dist/sha1
+ - copyartifact:
+ project: ceph-dev-setup
+ filter: dist/branch
+ which-build: multijob-build
+ - inject:
+ properties-file: ${WORKSPACE}/dist/branch
- multijob:
name: 'ceph dev build phase'
condition: SUCCESSFUL