Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 35cf28d

Browse files
committed
Improved error reporting on development/install.sh script.
The script will now stop on errors and make it easier to see where it failed.
1 parent 9b6cbeb commit 35cf28d

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

development/install.sh

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,20 @@ git rev-parse && cd "$(git rev-parse --show-cdup)"
55

66
. development/env.sh
77

8-
development/cleanup.sh
9-
10-
.travis/install.sh
11-
.travis/install_utplsql_release.sh
12-
.travis/create_additional_grants_for_old_tests.sh
8+
header="******************************************************************************************"
9+
if ! development/cleanup.sh; then
10+
echo -e ${header}"\nFailed to cleanup utPLSQL environment\n"${header}
11+
exit 1
12+
fi
13+
if ! .travis/install.sh; then
14+
echo -e ${header}"\nFailed to install utPLSQL from current branch into ${UT3_OWNER} schema\n"${header}
15+
exit 1
16+
fi
17+
if ! .travis/install_utplsql_release.sh; then
18+
echo -e ${header}"\nFailed to install utPLSQL from branch ${SELFTESTING_BRANCH} into ${UT3_RELEASE_VERSION_SCHEMA}\n"${header}
19+
exit 1
20+
fi
21+
if ! .travis/create_additional_grants_for_old_tests.sh; then
22+
echo -e ${header}"Failed to add grants needed old_tests\n"${header}
23+
exit 1
24+
fi

0 commit comments

Comments
 (0)