APPS-261 changes to init.sh

This commit is contained in:
Bogdan
2020-08-13 12:33:47 +03:00
parent 2799ce6656
commit e47c1b5616

View File

@@ -5,7 +5,7 @@ PS4="\[\e[35m\]+ \[\e[m\]"
set -vex
pushd "$(dirname "${BASH_SOURCE[0]}")/../"
mkdir -p ${HOME}/.m2 && cp -rf _ci/settings.xml ${HOME}/.m2/
mkdir -p ${HOME}/.m2 && cp -rf ./.travis.settings.xml ${HOME}/.m2/
echo "${QUAY_PASSWORD}" | docker login -u="${QUAY_USERNAME}" --password-stdin quay.io
find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf