[GRADLE-1461] serverUrl property of sonar task is ignored Created: 31/Mar/11  Updated: 04/Jan/13  Resolved: 31/Mar/11

Status: Resolved
Project: Gradle
Affects Version/s: 1.0
Fix Version/s: 1.0-milestone-2

Type: Bug
Reporter: Hans Dockter Assignee: Peter Niederwieser
Resolution: Fixed Votes: 0


 Description   

I did the following setting in the spock build. This was applied to the spock build after the the subprojects block that applies the sonar plugin and the allprojects block.

subprojects {
   sonar {
      serverUrl = 'http://localhost:9010'
   }
}

I checked that the sonar server was running under the above url. When running gradle sonar I got the following exception:

Caused by: java.io.FileNotFoundException: http://localhost:9000/deploy/jdbc-driver.jar

Generated at Wed Jun 30 11:56:05 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.