get information from Sonarqube then notif to slack channel
SONAR_USERNAME=temp SONAR_PASSWORD=abc12 SLACK_CHANNEL=#general PROJECT_ALIAS_NAME=gu_falcon1 SLACK_HOOK_URL=https://hooks.slack.com/services/ SONAR_URL=http://sonarqube.example.com/ go run sonar-2-slack.go
Docker images from darkpiv/sonarqube-2-slack
docker pull darkpiv/sonarqube-2-slack
docker run --rm -e SONAR_USERNAME="temp" \
-e SONAR_PASSWORD="abc123" \
-e SLACK_CHANNEL="#general" \
-e PROJECT_ALIAS_NAME="gu_falcon1" \
-e SLACK_HOOK_URL="https://hooks.slack.com/services" \
-e SONAR_URL="http://sonarqube.example.com/" darkpiv/sonarqube-2-slack
- Read data from SonarQube
- Design message send to slack
- Push Message to slack
- Dockersize app
- Handler fail case
- Write testcase