Concourse sonar integration


I am integration sonar runner with concourse pipeline. I am able to see analysis report but job fails with out any error.

Job config:

- name: job-unit-test
  public: true
  serial: true
  - get: service-repo-trigger
    trigger: true
  - get: service-repo
    trigger: false
  - get: ci-resources
  - task: unittests
      SERVICE_NAME: ((service-name))
    file: ci-resources/ci-tasks/sample_task_go_unit_test.yml
  - put: code-analysis
      project_path: sonar-path
        sonar.go.coverage.reportPaths: coverage.out

Out put from watch:
INFO: ------------------------------------------------------------------------
INFO: ------------------------------------------------------------------------
INFO: Total time: 14.224s
INFO: Final Memory: 13M/313M
INFO: ------------------------------------------------------------------------
Reading SonarQube scanner report (./.scannerwork/report-task.txt)…

Help is much appreciated. Let me know for missing details.


Hello, please edit your post, it is not very readable at the moment.

Use the </> button above the input field to format your code, command line output or error message (select the text first, then click the button or wrap it in ````` manually). Check the preview if it looks better. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.


Hi @thejaswi I’m interested on your issue.

I’m integrating sonar client too and am using my own container that performs the analysis as a task and pushes the report to the sonarqube main server.
Would that be an approach that you would consider?.