The tar command used do get the versioninfo content does not just
return empty when versioninfo is absent: it fails, triggering
set -e protection and resulting in the whole script failing. Fix
makes sure the command is successful (by || true) even when it
returns nothing.
Reviewed: https:/ /review. openstack. org/9102 github. com/openstack/ openstack- ci-puppet/ commit/ 40bed1816ecdfcb ffc426e772aab97 fca9933da7
Committed: http://
Submitter: Jenkins
Branch: master
commit 40bed1816ecdfcb ffc426e772aab97 fca9933da7
Author: Thierry Carrez <email address hidden>
Date: Thu Jun 28 14:28:16 2012 +0200
Do not fail in absence of versioninfo
The tar command used do get the versioninfo content does not just
return empty when versioninfo is absent: it fails, triggering
set -e protection and resulting in the whole script failing. Fix
makes sure the command is successful (by || true) even when it
returns nothing.
Fixes bug 1018820
Change-Id: I3605d070f1d8f5 bb39f5751f7c9a8 b4f78a7701b