How to decorate GitHub branch/PR analyze with Jenkins/Gradle?

(Vitaly Karasik) #1

I already read and, but i suspect I’m missing some basic stuff.
It seems that I need to provide different parameters for Sonar depends whether it’s branch or PR commit?
if (PR)
sonar.pullrequest… =

else =


(Duarte Meneses) #2

Hi Vitaly,

That’s correct. Currently there are different parameters that need to be passed for branches and pull requests. We intend to simplify this in the future.