We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7402b13 + 65441c6 commit 935b999Copy full SHA for 935b999
.githooks/pre-push
@@ -12,13 +12,15 @@ CWD=`pwd`
12
# Move to the project directory which you want to compile
13
14
echo '-------------------- MAVEN TEST-COMPILE STARTED -----------------------------'
15
+printf "\n\n"
16
17
mvn test-compile
18
if [ $? -ne 0 ]; then
19
cd $CWD
20
echo 'Git Push [ABORTED] >-----------> because of existing issues, Please check logs!'
21
exit 1
22
else
23
+ printf "\n\n"
24
echo 'Compilation Status: No issues found >--------------------------> [SUCCESSFUL]'
25
echo 'Git Push >-----------------------------------------------------> [SUCCESSFUL]'
26
fi
0 commit comments