2020-12-29 23:38:50 +01:00
|
|
|
#!/bin/bash -e
|
|
|
|
# OTHER REQUIRED ENVIRONMENT VARIABLES:
|
|
|
|
# REVISION = <revision>
|
|
|
|
|
|
|
|
# Check variables correctness
|
|
|
|
if [ -z "${REVISION}" ]; then
|
|
|
|
echo "Missing parameter: REVISION"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2021-12-08 02:00:32 +01:00
|
|
|
cd "../../"
|
2020-12-29 23:38:50 +01:00
|
|
|
|
2021-12-08 02:00:32 +01:00
|
|
|
cd "bom"
|
|
|
|
mvn -B -Drevision="${REVISION}" clean deploy
|
|
|
|
cd "../"
|
2020-12-29 23:38:50 +01:00
|
|
|
|
|
|
|
echo "Done."
|
|
|
|
exit 0
|