#!/bin/bash -e # OTHER REQUIRED ENVIRONMENT VARIABLES: # REVISION = # Check variables correctness if [ -z "${REVISION}" ]; then echo "Missing parameter: REVISION" exit 1 fi cd "../../" cd "bom" mvn -B -Drevision="${REVISION}" clean deploy cd "../" echo "Done." exit 0