]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
script/run-make.sh: retry if dpkg was interrupted 42743/head
authorKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 08:29:10 +0000 (16:29 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 11 Aug 2021 10:05:46 +0000 (18:05 +0800)
commite2782954088dadb9bfe9cd3760129f06c602e7dd
tree17b83ce8027ca7121d723e442618957175e485d7
parentfa1946f19c642223473e1b84686f5496a47e9d57
script/run-make.sh: retry if dpkg was interrupted

there is chance that apt-get is interrupted in the middle when a new PR
cancels the running jenkins job, the next job running apt-get or dpkg
would run into issues like:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Build step 'Execute shell' marked build as failure

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/script/run-make.sh