Hi,
I am trying to test if my current gradle version 1.12 is compatible with sonar 7.9 and I have created a sample project in github and cloned it and started the task “gradle sonarqube”.
My analysis was successful, but on sonar webpage it says "“The main branch has no lines of code.”
This is my sample and only file in the repo
#!/usr/bin/python
var1="something"
var2="password"
print("This is sample program")
print("This is my password")
print("Hello")
I am starting the scan using this command
gradle sonarqube -Dsonar.host.url=myhost:9000/sonar -Dsonar.login=user -Dsonar.password=password --debug
my build.gradle
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.4.0.2513"
}
}
apply plugin: 'org.sonarqube'
Can some one please tell me what is the issue here?