Skip to content

Commit

Permalink
ci: use pysonar-scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Nov 1, 2024
1 parent dd2bc14 commit b8da808
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ci/docker/linux/jenkins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ RUN apt-get update && \

ARG SONAR_SCANNER_VERSION
ARG SONAR_SCANNER_HOME=/opt/sonar/${SONAR_SCANNER_VERSION}-linux
ENV SONAR_USER_HOME=/opt/sonar/.sonar

RUN curl --create-dirs -sSLo /tmp/build-wrapper-linux-x86.zip https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip && \
unzip -o /tmp/build-wrapper-linux-x86.zip -d /opt/ && \
Expand All @@ -72,17 +71,13 @@ RUN apt-get update && \

COPY --from=SONAR_BUILDER /opt/build-wrapper-linux-x86 /opt/build-wrapper-linux-x86/
ARG SONAR_SCANNER_VERSION
ENV SONAR_USER_HOME=/opt/sonar/.sonar


RUN ln -s /opt/build-wrapper-linux-x86/build-wrapper-linux-x86-64 /usr/local/bin/build-wrapper-linux-x86-64 && \
which build-wrapper-linux-x86-64

RUN mkdir -p /.sonar/cache && \
chmod -R 777 /.sonar/cache

RUN chmod -R 777 $SONAR_USER_HOME

ENV SONAR_SCANNER_OPTS="-server"

ARG PIP_FIND_LINKS
Expand Down

0 comments on commit b8da808

Please sign in to comment.