Skip to content

Commit

Permalink
Added some error checking. Completed synopsis.
Browse files Browse the repository at this point in the history
  • Loading branch information
janvanmansum committed Jul 1, 2017
1 parent 36b15ee commit b5180a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ SYNOPSIS
build-only-rpm.sh
build-yum-repo.sh
build-all.sh
build-reprovision.sh
build-all-and-reprovision.sh

# Run with maven
run-reset-env.sh
Expand Down
5 changes: 5 additions & 0 deletions build-all-and-reprovision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@
#

build-all.sh

if [ $? -ne 0 ]; then
exit 1
fi

build-reprovision.sh
6 changes: 6 additions & 0 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@
#

mvn clean install

if [ $? -ne 0 ]; then
echo "Build failed. Aborting."
exit 1
fi

build-yum-repo.sh

0 comments on commit b5180a2

Please sign in to comment.