diff --git a/apps-deployment-script.sh b/apps-deployment-script.sh index 68657161..fc3f3b31 100644 --- a/apps-deployment-script.sh +++ b/apps-deployment-script.sh @@ -14,7 +14,7 @@ build_and_deploy_service(){ echo "---------build and deploy $SERVICE_NAME-----------" cd "$SERVICE_NAME" || exit if [ $SERVICE_NAME != "car-ui" ]; then - mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + mvn verify sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nashtech -Dsonar.projectKey=$SERVICE_NAME mvn clean install -s $GITHUB_WORKSPACE/settings.xml fi echo "---------packaging done, start docker build-----------"