jenkins: Print build.log after root.log
This commit is contained in:
parent
76bcdbea0f
commit
a99758918b
@ -27,7 +27,7 @@ rpmbuild -bs --clean --define "_topdir `pwd`" --define "_sourcedir `pwd`" xmvn.s
|
|||||||
# build RPM with custom mock config
|
# build RPM with custom mock config
|
||||||
rm -Rf ${resultdir}/*
|
rm -Rf ${resultdir}/*
|
||||||
# print root.log and build.log in case of failure
|
# print root.log and build.log in case of failure
|
||||||
trap "cat ${resultdir}/*.log || :" 0
|
trap "cat ${resultdir}/{root,build}.log || :" 0
|
||||||
mock -r ../..$PWD/fedora-rawhide-x86_64 SRPMS/*.src.rpm
|
mock -r ../..$PWD/fedora-rawhide-x86_64 SRPMS/*.src.rpm
|
||||||
|
|
||||||
# remove unneeded stuff
|
# remove unneeded stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user