diff --git a/apps-deployment-script.sh b/apps-deployment-script.sh index 0e683829..01f4ee1a 100644 --- a/apps-deployment-script.sh +++ b/apps-deployment-script.sh @@ -17,7 +17,7 @@ build_and_deploy_service(){ #mvn verify sonar:sonar #mvn verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nashtech #mvn clean install -s $GITHUB_WORKSPACE/settings.xml -X - mvn clean install + mvn clean install -s $HOME/.m2/settings.xml echo "-------------$SERVICE_NAME deployed ----------" fi } @@ -66,8 +66,8 @@ do echo "=========================Deploying common package==================" cd common || exit mvn -B package --file pom.xml - mvn deploy -X -s $GITHUB_WORKSPACE/settings.xml - #mvn deploy -X -s $HOME/.m2/settings.xml + #mvn deploy -X -s $GITHUB_WORKSPACE/settings.xml + mvn deploy -X -s $HOME/.m2/settings.xml cd ..;; # case 2 build and deploy order-service