Commit 0c15173
Reduce dpkg install noise with run_and_print_on_failure
Each dpkg -i call produces ~8 lines of verbose output per package
(Selecting, Reading database, Preparing, Unpacking, Setting up). For a
hub build with ~20 dependencies this adds ~160 lines of noise to the
Jenkins logs. Wrap the dpkg call with run_and_print_on_failure so output
is only shown when installation fails. Also remove -x from shebang to
suppress shell trace output.
Ticket: ENT-12619
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 66ec754 commit 0c15173
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
| 13 | + | |
0 commit comments