Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48579

Add Project name to the Gerrit comment

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I would like to be able to add more information to the Gerrit comment that is sent from the Sonar Gerrit plugin. Specifically which project that was tested, through the information from the Sonar report (top component) or a variable provided by the job configuration (Inject environment variables).

       

      Consider the following case; I have a matrix-configured Jenkins job where a different Sonar report is created on each axis combination. As an example, let’s say there are 5 combinations. In the “no SonarQube violations found” case for all 5 combinations, that would mean 5 identical Gerrit comments with the same message “SonarQube violations have not been found.”. I would like the possibility to send this message instead “SonarQube violations have not been found for <top_component> or ${VARIABLE_FOR_PROJECT}.” for each combination.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            aquarellian Tatiana Didik
            Reporter:
            softmuppen Richard Norling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: