Jenkins and sonar integration with groovy script (pipeline - withSonarQubeEnv)

Hi G Ann Campbell,

Thanks a lot for the help.

I’ve changed what you said (mvn clean install -U -DskipTests -f /var/lib/jenkins/scripts/test_groovy/my_source/ sonar: sonar), but the error is the same.

I deleted all the Sonar / Jenkins webhook settings and did it all over again. The return of the error has changed. Every time I run Job on Jenkins he always has the same answer: ERROR, but not all code has been re-published in Quality Gate.

This is the feedback I’m getting now:

The task “AWXu3i7Z8SfODCgvm3zQ” is always the same regardless of the source code it analyzes. Is this normal?

My current code: