Skip to content

packaging: Prevent any interactive behaviour in scripts

Emanuele Aina requested to merge wip/em/avoid-interactivity into master

Jenkins launches Docker as docker --tty, which leads some programs to think that they can prompt the user interactively (for instance, osc submitrequests prompts the user when it finds an already existing pending request).

This results in job hanging forever.

Since at the moment there does not seem a way to fix Jenkins[1], forcefully redirect stdin to /dev/null where possible.

[1] https://issues.jenkins-ci.org/browse/JENKINS-38305

Merge request reports