2020-10-10 15:08:26 +02:00
|
|
|
#!/bin/bash -e
|
2020-10-11 17:52:48 +02:00
|
|
|
# REQUIRED PARAMETERS:
|
|
|
|
# REVISION = <revision>
|
|
|
|
|
|
|
|
# Check variables correctness
|
|
|
|
if [ -z "${REVISION}" ]; then
|
|
|
|
echo "Missing parameter: REVISION"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2020-10-10 15:08:26 +02:00
|
|
|
cd ../generated
|
|
|
|
|
2020-10-11 18:51:18 +02:00
|
|
|
mvn -B -Drevision=${REVISION} clean deploy
|
2020-10-10 15:08:26 +02:00
|
|
|
|
|
|
|
echo "Done."
|
|
|
|
exit 0
|