]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
Grab SHA1 into parent job's environment for human or program 1665/head
authorDan Mick <dmick@redhat.com>
Thu, 24 Sep 2020 17:26:07 +0000 (17:26 +0000)
committerDan Mick <dmick@redhat.com>
Thu, 24 Sep 2020 17:28:19 +0000 (17:28 +0000)
commitfe11e2ff1532fd4b64a0cbf0fa5e3490c7665fcf
tree325426f5aacf06ea2b20e6a72dcc5bf555be6690
parent050f83d6d49bd666f1f467393ca848bb32411c4b
Grab SHA1 into parent job's environment for human or program

The Ceph SHA1 is divined by the -setup job, and not available in the
parent job.  That's easily fixed by the same method it's passed to the
-build job: grab the file artifact and use it to inject SHA1 into the
environment.  This means the parent job can show the SHA1 in its build
label for humans, and can also be searched by Jenkins API calls.

Signed-off-by: Dan Mick <dmick@redhat.com>
ceph-dev-new-setup/config/definitions/ceph-dev-new-setup.yml
ceph-dev-new/config/definitions/ceph-dev-new.yml
ceph-dev-setup/config/definitions/ceph-dev-setup.yml
ceph-dev/config/definitions/ceph-dev.yml