]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-pr-submodules: explicitly fetch the target branch 674/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 4 Apr 2017 21:40:37 +0000 (15:40 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 4 Apr 2017 21:40:37 +0000 (15:40 -0600)
commit12672b1c59331a42d0f5ff876a6d0de28c48390d
tree33b0c99c45747b44b87a4f0da8d1db370d9a60a1
parent4ff58fb9080746fc2dfe2fae087c8519baea49bc
ceph-pr-submodules: explicitly fetch the target branch

This ceph-pr-submodules job is still giving us false positives in some
cases.

We were comparing against a target branch (for example "origin/jewel"),
but we could not see the *exact* sha1 that Jenkins thought was
"origin/jewel". Sometimes this job would fail, and the failure hinted
that Jenkins might be comparing an older target branch.

Explicitly fetch the target branch immediately before doing the "git
log" operation, and print the target branch's sha1 ref to stdout in case
we need further debugging.
ceph-pr-submodules/build/build