Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6905

Batch should dump analysis-related URL into a properties file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: Scanner
    • Labels:
      None

      Description

      The purpose is to cover the following use case:

      • In Jenkins/VSO/TeamCity, I've defined a job to run SQ analyses on my project
      • I launch the job
      • Once the execution is finished, I want to show the progress of the report processing that is happening on server-side
        • => for this, I need to know which URL to call

      SONAR-6893 already logs this information, but it would be more convenient to have it in a dedicated properties file to make it easier to get it.

      So I expect the batch to always dump (at least) the following information in the <work_dir>/report-task.txt file:

      • URL of the project dashboard: <sonar.core.serverBaseURL>/dashboard/index/test:multi-language-test
      • URL of the report-processing task: <sonar.core.serverBaseURL>/api/ce/task?id=XXXXX

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              fabrice.bellingard Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: