Files
spring-retry/ci/scripts/build-project.sh
2022-03-03 09:06:57 +01:00

14 lines
346 B
Bash
Executable File

#!/bin/bash
set -e
source $(dirname $0)/common.sh
repository=$(pwd)/distribution-repository
if [ -z "$(ls -A maven)" ]; then
echo "Maven cache not available."
else
echo "Maven cache found."
fi
pushd git-repo > /dev/null
./mvnw clean deploy -U -Pspring -DaltDeploymentRepository=distribution::default::file://${repository}
popd > /dev/null