Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- env:
- variables:
- SONAR_LOGIN: "MY_SONARQUBE_AUTHTOKEN"
- SONAR_HOST: "MY_SONARQUBE_URL"
- #You should use parameter-store here instead
- phases:
- build:
- commands:
- - mvn test
- post_build:
- commands:
- - mvn sonar:sonar -Dsonar.login=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement