Jenkins Sonar plugin: link does not resolve job parameters
Regression: Sonar url for Free-style job
Any update on this? What the process for submitting patches? Are pull requests from github accepted if I can have a look at this?
I was thinking that if the Jenkins UI sonar.branch property was not defined then use the maven help plugin (mvn help:evaluate -Dexpression=sonar.branch) to get the value of the property from the POM otherwise revert to current behaviour. Sound reasonable?
Either that or add config to allow using the POM version for the sonar.branch value.
It seems there is no easy way to access resolved pom properties from a Jenkins plugin. Here maybe the best solution would be to patch Jenkins to expose pom properties.
As a first step we will consider sonar.branch from the "parsed" pom (but not "resolved"). It means that if the property is defined in parent pom or is composed of other properties then it will not works.
This issue should be closed and all efforts should go to SONARPLUGINS-2814