#!/bin/bash # Clone, build and deploy VIPSLogic cd ~ git clone --single-branch --branch develop https://gitlab.nibio.no/VIPS/VIPSLogic.git cd VIPSLogic && mvn clean install -gs ${MAVEN_SETTINGS} files=(VIPSLogic-*.war) VIPSLOGIC_BUILD="${files[0]}" cp ~/VIPSLogic/target/${VIPSLOGIC_BUILD} ${JBOSS_HOME}/standalone/deployments rm -rf ~/VIPSLogic