Started by user anonymous Building in workspace C:\Users\user\.jenkins\workspace\Try1 > git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git.exe config remote.origin.url https://github.com/imentor/qa.git # timeout=10 Fetching upstream changes from https://github.com/imentor/qa.git > git.exe --version # timeout=10 using .gitcredentials to set credentials > git.exe config --local credential.helper store --file=\"F:\Laptop Backup\OpenSource\apache-tomcat-7.0.40\temp\git5891258861841529089.credentials\" # timeout=10 > git.exe -c core.askpass=true fetch --tags --progress https://github.com/imentor/qa.git +refs/heads/*:refs/remotes/origin/* > git.exe config --local --remove-section credential # timeout=10 > git.exe rev-parse "refs/remotes/origin/dev^{commit}" # timeout=10 > git.exe rev-parse "refs/remotes/origin/origin/dev^{commit}" # timeout=10 Checking out Revision 10fed612086c1696c7beecc52feac924cb6fcf0d (refs/remotes/origin/dev) > git.exe config core.sparsecheckout # timeout=10 > git.exe checkout -f 10fed612086c1696c7beecc52feac924cb6fcf0d > git.exe rev-list 10fed612086c1696c7beecc52feac924cb6fcf0d # timeout=10 [Try1] $ "F:\Laptop Backup\OpenSource\sonarInstallation\sonar-runner-2.4\bin\sonar-runner.bat" SonarRunner_01 -Dsonar.jdbc.driver=com.mysql.jdbc.Driver "-Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8" ******** ******** -Dsonar.host.url=http://localhost:9000 -Dsonar.projectBaseDir=C:\Users\user\.jenkins\workspace\Try1 "-Dproject.settings=F:/Laptop Backup/OpenSource/sonarInstallation/sonar-runner-2.4/sonar-project.properties" F:/Laptop Backup/OpenSource/sonarInstallation/sonar-runner-2.4 SonarQube Runner 2.4 Java 1.8.0_25 Oracle Corporation (32-bit) Windows 7 6.1 x86 INFO: Runner configuration file: F:\Laptop Backup\OpenSource\sonarInstallation\sonar-runner-2.4\conf\sonar-runner.properties INFO: Project configuration file: F:\Laptop Backup\OpenSource\sonarInstallation\sonar-runner-2.4\sonar-project.properties INFO: SonarQube Server 4.5.1 13:10:03.029 INFO - Load global referentials... 13:10:03.287 INFO - Load global referentials done: 258 ms 13:10:03.297 INFO - User cache: C:\Users\user\.sonar\cache 13:10:03.307 INFO - Install plugins 13:10:03.359 INFO - Install JDBC driver 13:10:03.376 INFO - Create JDBC datasource for jdbc:mysql://localhost:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8 13:10:04.688 INFO - Initializing Hibernate INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 4.091s Final Memory: 7M/19M INFO: ------------------------------------------------------------------------ ERROR: Error during Sonar runner execution ERROR: Unable to execute Sonar ERROR: Caused by: Task SonarRunner_01 does not exist ERROR: ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch. ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging. Build step 'Invoke Standalone Sonar Analysis' marked build as failure Finished: FAILURE
Thanks in advance,
Neeraj
F:\Laptop Backup\OpenSource\sonarInstallation\sonar-runner-2.4\bin\sonar-runner.bat" SonarRunner_01 -Dsonar.jdbc.driver=com.mysql.jdbc.Driver "-Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8" <jdbcpassword> -Dsonar.host.url=http://localhost:9000 -Dsonar.projectBaseDir=C:\Users\user\.jenkins\workspace\Try1 "-Dproject.settings=F:/Laptop Backup/OpenSource/sonarInstallation/sonar-runner-2.4/sonar-project.properties" -e
The look at the output to try and determine why it is failing.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ee80904e-ed9f-404a-bd1d-ec9b8e273bf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks & Regards,
Neerajkumar Lad
Senior Exploratory Tester | Moolya
+91-9538268171 | neer...@moolya.com | www.moolya.com
Moolya is a mobility test solutions company. We solve 3 problems for our
customers. Device Fragmentation, Quality and Automation.
This email and any
files transmitted with it are confidential and intended solely for the use of
the individual or entity to whom they are addressed. If you have received this
email in error please notify the system manager. This message contains
confidential information and is intended only for the individual named. If you
are not the named addressee you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system. If you are not
the intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/JAPJR6ccVTk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACPng9Y%2Bo4AYKOWd3PD_siGLvF%2B5_je3yXp3LscLA9KcJqc87Q%40mail.gmail.com.
Thanks & Regards,
Neerajkumar Lad
Moolya is a mobility test solutions company. We solve 3 problems for our
customers. Device Fragmentation, Quality and Automation.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
Hi
Anyone used sonar-runner in Android studio , when I run command "gradle sonarRunner" through terminal it give error as below :
"Can not invoke method public java.lang.Class org.sonar.plugins.surefire.SurefireSensor.dependsUponCoverageSensors()"
My Build.gradle file as below:
apply plugin: 'sonar-runner'
sonarRunner {
sonarProperties {
// can be also set on command line like -Dsonar.analysis.mode=incremental
property "sonar.host.url", "http://myserver.com"
property 'sonar.sourceEncoding', 'UTF-8'
property 'sonar.language', 'java'
property 'sonar.projectKey', 'com.projectKey'
//need to replace with your project package name
property 'sonar.projectName', 'projectName' // need to replace with your project name
property 'sonar.projectVersion', '1.0'
property 'sonar.sources', 'src/main/java'
}
}
If any one have any solution then please help me I am stuck here.
My Android studio version- 1.3.2
SonarQube Runner 2.3
SonarQube Server 5.3