A Sonarqube CLI wrapper usable in combination with the Sonarqube Gitlab plugin by Gabriel Allaigre
312

This image was made and maintained for Motius and we have no intention to make this official. Support won't be regular so if there's an update, or a fix, you can open a pull request. Any contribution is welcome, but please be aware I'm very busy currently. Before opening an issue, please check if there's already one related. Also please use Github instead of Docker Hub, otherwise I won't see your comments. Thanks.
CI_PROJECT_IDCI_PROJECT_NAMECI_BUILD_REFCI_BUILD_REF_NAMECI_PROJECT_IDDon't copy/paste without thinking! It is a model so you can see how to do it correctly.
version: '3'
sonarqube:
image: motius/sonarqube-gitlab-cli
volumes:
- sources:/build
environment:
- "URL=https://sonarqube.xyz"
- "PROJECT_KEY=$CI_PROJECT_KEY"
- "PROJECT_NAME=$CI_PROJECT_NAME"
- "USER=username"
- "PASSWORD=password"
- "VERSION=1.0"
- "MAIN_BRANCH=master"
- "CI_BUILD_REF=$CI_BUILD_REF"
- "CI_BUILD_REF_NAME=$CI_BUILD_REF_NAME"
- "CI_PROJECT_ID=$CI_PROJECT_ID"
You can update everything with docker-compose pull followed by docker-compose up -d.
Content type
Image
Digest
Size
168.6 MB
Last updated
about 8 years ago
docker pull motius/sonarqube-gitlab-cli