mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-19 19:47:08 +08:00
Add logging to track caching on CI
This commit is contained in:
@@ -3,7 +3,11 @@ set -e
|
|||||||
|
|
||||||
source $(dirname $0)/common.sh
|
source $(dirname $0)/common.sh
|
||||||
repository=$(pwd)/distribution-repository
|
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
|
pushd git-repo > /dev/null
|
||||||
./mvnw clean deploy -U -Pfull -DaltDeploymentRepository=distribution::default::file://${repository}
|
./mvnw clean deploy -U -Pfull -DaltDeploymentRepository=distribution::default::file://${repository}
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user