When I run mock in Jenkins on RHEL 8, I cannot get it to buffer its output to Jenkins' console.
Normally when I run Python programs (eg. Pungi) I can force the output to go immediately to Jenkins by setting the PYTHONUNBUFFERED=1 environment variable.
Unfortunately this is not sufficient when I use mock 1.4.13 on el8.
Is there anything else I could try?
- Ken
On Thu, Feb 28, 2019, 4:11 AM Miroslav Suchý msuchy@redhat.com wrote:
Dne 26. 02. 19 v 18:59 Ken Dreyer napsal(a):
Is there anything else I could try?
dnf install unbuffer unbuffer mock ...
unbuffer works great! Thank you Miroslav.
(Also I needed to "yum install expect" instead, since /usr/bin/unbuffer is in that package.)
buildsys@lists.fedoraproject.org