Added mvn failure check (#6107)
This commit is contained in:
parent
102e36ce95
commit
7573bbe661
|
|
@ -6,6 +6,14 @@ rm -rf dist/
|
||||||
# Build the code. $@ accepts all the parameters from the input command line and uses it in the maven build command
|
# Build the code. $@ accepts all the parameters from the input command line and uses it in the maven build command
|
||||||
mvn clean package "$@"
|
mvn clean package "$@"
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]
|
||||||
|
then
|
||||||
|
echo "mvn Successfull"
|
||||||
|
else
|
||||||
|
echo "mvn Failed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Create the dist directory
|
# Create the dist directory
|
||||||
mkdir -p dist/plugins
|
mkdir -p dist/plugins
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user