diff --git a/provider/register-aws/build-aws/buildspec.yaml b/provider/register-aws/build-aws/buildspec.yaml index 78f208271d40a09d4a4e4c57358e7c5487cbac5a..2c062c88c9691cc7ffc00939cba358ced87433f9 100644 --- a/provider/register-aws/build-aws/buildspec.yaml +++ b/provider/register-aws/build-aws/buildspec.yaml @@ -70,8 +70,8 @@ phases: - if [ "$GIT_SECRETS_SCAN_RESULT" = "FAILED" ]; then echo "Secrets detected!" && exit 1; fi - echo "Building primary service assemblies..." - - mvn -ntp -B test install sonar:sonar -pl .,register-core,provider/register-aws -Ddeployment.environment=prod -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME} - + - mvn -ntp -B test install -pl .,register-core,provider/register-aws -Ddeployment.environment=prod + - mvn sonar:sonar -pl .,provider/register-aws -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME} - echo "Building integration testing assemblies and gathering artifacts..." - ./testing/register-test-aws/build-aws/prepare-dist.sh