17 lines
274 B
Bash
Executable File
17 lines
274 B
Bash
Executable File
#!/bin/bash -e
|
|
# OTHER REQUIRED ENVIRONMENT VARIABLES:
|
|
# REVISION = <revision>
|
|
|
|
# Check variables correctness
|
|
if [ -z "${REVISION}" ]; then
|
|
echo "Missing parameter: REVISION"
|
|
exit 1
|
|
fi
|
|
|
|
cd ../../generated
|
|
|
|
mvn -B -Drevision=${REVISION} clean deploy
|
|
|
|
echo "Done."
|
|
exit 0
|