Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Project name to the Gerrit comment #79

Open
reda-alaoui opened this issue Dec 15, 2017 · 0 comments
Open

Add Project name to the Gerrit comment #79

reda-alaoui opened this issue Dec 15, 2017 · 0 comments

Comments

@reda-alaoui
Copy link
Contributor

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 or ${VARIABLE_FOR_PROJECT}.” for each combination.

[JENKINS-48579] created by softmuppen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant