Skip to content

Commit

Permalink
Merge pull request #76 from gardleopard/fail_on_package_install_error
Browse files Browse the repository at this point in the history
Fail the build if there is an error installing packages
  • Loading branch information
Matt Duftler committed Mar 3, 2016
2 parents 0b3ef49 + d739a24 commit ed9ace8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rosco-web/config/packer/install_packages.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

# Make rush fail the build on errors.
set -e

# Strip the first part to avoid credentials leaks.
echo "repository=$(echo $repository | sed s/^.*@//g)"
echo "package_type=$package_type"
Expand Down

0 comments on commit ed9ace8

Please sign in to comment.