Merge "Bail out in run_all.sh runs when failures happen"

This commit is contained in:
Jenkins 2014-12-19 13:43:28 +00:00 committed by Gerrit Code Review
commit 40f3b17963
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
# License for the specific language governing permissions and limitations
# under the License.
# If updating the puppet system-config repo or installing puppet modules
# fails then abort the puppet run as we will not get the results we
# expect.
set -e
cd /opt/system-config/production
git fetch -a && git reset -q --hard @{u}