I tried updating the sonar ant task (was older 2018 2.5 version as seen above, along with updating my sonar.xml file with that new jar name) and when I did I got similar errors and failed again…
[sonar:sonar] Load quality profiles
[sonar:sonar] Load quality profiles (done) | time=124ms
[sonar:sonar] Load active rules
[sonar:sonar] Load active rules (done) | time=1216ms
BUILD FAILED
build.xml:79: The following error occurred while executing this line:
sonar.xml:97: The 'sonar.branch' parameter is no longer supported. You should stop using it. Branch analysis is available in Developer Edition and above. See https://redirect.sonarsource.com/editions/developer.html for more information.
I have upgraded from 7.3 to 7.9 LTS and i have not changed anything in my configuration. I have not changed any analysis parameters. When I upgraded the check failed, I updated to use the newer version of the sonar ant task jar and I believe I got past the first issue (maybe), but both are still complaining about the sonar.xml and build.xml…pretty much the same location in both errors. What exactly am I supposed to be checking for?
My issue is similar to the above link which you responded to…same situation, except I’m only using the default branch and nothing else, so nothing to merge or whatever.