Skip to content

Commit

Permalink
fix: Suggest to sonar a directory with the appropriate permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Konubinix committed Aug 8, 2024
1 parent 70f8bde commit 400c9e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ sonar:
RUN echo sonar.branch.name="$use_branch" >> /app/sonar-project.properties
END
ENV SONAR_HOST_URL=https://sonarcloud.io
ENV SONAR_USER_HOME=/app/sonar
RUN --mount=type=cache,target=/opt/sonar-scanner/.sonar/cache --secret SONAR_TOKEN sonar-scanner -D sonar.python.coverage.reportPaths=/app/output/coverage/coverage.xml
SAVE ARTIFACT /app/output /output

Expand Down

0 comments on commit 400c9e1

Please sign in to comment.