~singpolyma/biboumi

8b178aa82fab6a67c2c73385132fd06edad2530b — louiz’ 6 years ago eed31b6
Fix the sonar-qube submission
2 files changed, 5 insertions(+), 1 deletions(-)

M .gitlab-ci.yml
M docker/biboumi-test/fedora/Dockerfile
M .gitlab-ci.yml => .gitlab-ci.yml +3 -1
@@ 147,4 147,6 @@ test:sonar-qube:
  script:
    - cmake ..
    - ~/sonar-scanner/bin/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir ./bw-outputs make biboumi test_suite
    - ~/sonar-scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_LOGIN
    - cd ..
    - ~/sonar-scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarqube.com -Dsonar.login=$SONAR_LOGIN -Dsonar.language=cpp -Dsonar.cfamily.build-wrapper-output=bw-outputs -Dsonar.sourceEncoding=UTF-8 -Dsonar.sources=src/,louloulibs/,tests/ -Dsonar.projectKey=biboumi -Dsonar.projectName=Biboumi -Dsonar.projectVersion=3.0


M docker/biboumi-test/fedora/Dockerfile => docker/biboumi-test/fedora/Dockerfile +2 -0
@@ 62,6 62,8 @@ RUN su - tester -c "echo export LANG=en_GB.utf-8 >> /home/tester/.bashrc"
COPY coverity /home/tester/coverity
COPY sonar-scanner-2.8 /home/tester/sonar-scanner

RUN dnf install -y which java-1.8.0-openjdk

WORKDIR /home/tester
USER tester