Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. env:
  2. variables:
  3. SONAR_LOGIN: "MY_SONARQUBE_AUTHTOKEN"
  4. SONAR_HOST: "MY_SONARQUBE_URL"
  5. #You should use parameter-store here instead
  6.  
  7. phases:
  8. build:
  9. commands:
  10. - mvn test
  11. post_build:
  12. commands:
  13. - mvn sonar:sonar -Dsonar.login=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement