You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set +x
Skipping tests as no test scheme has been provided!
Running OCLint...
Path included in oclint analysis is: --include .*/sonar_IOS_diver/GoodTransport
sonar-runner
SonarQube Runner 2.4
Java 1.8.0_51 Oracle Corporation (64-bit)
Mac OS X 10.11.6 x86_64
INFO: Runner configuration file: /Users/distribution/Desktop/sonar/sonar-runner-2.4/conf/sonar-runner.properties
INFO: Project configuration file: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/sonar-project.properties
INFO: Default locale: "zh_CN", source code encoding: "UTF-8"
INFO: Work directory: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/./.sonar
INFO: SonarQube Server 5.1.1
16:49:34.108 INFO - Load global repositories
16:49:34.334 INFO - Load global repositories (done) | time=228ms
16:49:34.335 INFO - Server id: 20170106152445
16:49:34.336 INFO - User cache: /Users/distribution/.sonar/cache
16:49:34.342 INFO - Install plugins
16:49:34.414 INFO - Install JDBC driver
16:49:34.421 INFO - Create JDBC datasource for jdbc:mysql://192.168.199.132:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
16:49:35.297 INFO - Initializing Hibernate
16:49:36.243 INFO - Load project repositories
16:49:37.109 INFO - Load project repositories (done) | time=866ms
16:49:37.110 INFO - Load project settings
16:49:37.320 INFO - Load technical debt model
16:49:37.338 INFO - Apply project exclusions
16:49:37.506 INFO - ------------- Scan IOS_Driver
16:49:37.510 INFO - Load module settings
16:49:37.606 INFO - Language is forced to objc
16:49:37.614 INFO - Load rules
16:49:37.969 INFO - Base dir: /Users/distribution/.jenkins/workspace/sonar_IOS_diver
16:49:37.969 INFO - Working dir: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/.sonar
16:49:37.970 INFO - Source paths: GoodTransport
16:49:37.970 INFO - Source encoding: UTF-8, default locale: zh_CN
16:49:37.971 INFO - Index files
16:49:38.462 INFO - 1115 files indexed
16:49:48.621 INFO - Quality profile for objc: OCLint
16:49:48.871 INFO - JaCoCoSensor: JaCoCo report not found : /Users/distribution/.jenkins/workspace/sonar_IOS_diver/target/jacoco.exec
16:49:48.871 INFO - JaCoCoItSensor: JaCoCo IT report not found: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/target/jacoco-it.exec
16:49:48.883 INFO - Sensor Lines Sensor
16:49:48.976 INFO - Sensor Lines Sensor (done) | time=93ms
16:49:48.976 INFO - Sensor QProfileSensor
16:49:48.979 INFO - Sensor QProfileSensor (done) | time=3ms
16:49:48.979 INFO - Sensor InitialOpenIssuesSensor
16:49:49.158 INFO - Sensor InitialOpenIssuesSensor (done) | time=179ms
16:49:49.158 INFO - Sensor ProjectLinksSensor
16:49:49.166 INFO - Sensor ProjectLinksSensor (done) | time=8ms
16:49:49.166 INFO - Sensor VersionEventsSensor
16:49:49.183 INFO - Sensor VersionEventsSensor (done) | time=17ms
16:49:49.183 INFO - Sensor ObjectiveCSquidSensor
16:49:50.264 INFO - Sensor ObjectiveCSquidSensor (done) | time=1081ms
16:49:50.265 INFO - Sensor Objective-C SurefireSensor
16:49:50.265 INFO - parsing sonar-reports
16:49:50.307 INFO - Sensor Objective-C SurefireSensor (done) | time=43ms
16:49:50.308 INFO - Sensor org.sonar.plugins.objectivec.coverage.CoberturaSensor@2034ceab
16:49:50.315 INFO - Processing coverage report /Users/distribution/.jenkins/workspace/sonar_IOS_diver/sonar-reports/coverage.xml
16:49:50.316 INFO - Sensor org.sonar.plugins.objectivec.coverage.CoberturaSensor@2034ceab (done) | time=8ms
16:49:50.316 INFO - Sensor org.sonar.plugins.objectivec.violations.OCLintSensor@57a41c4b
16:49:50.316 INFO - Processing OCLint report /Users/distribution/.jenkins/workspace/sonar_IOS_diver/sonar-reports/oclint.xml
16:49:50.438 ERROR - Reporting 5335 violations.
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 16.827s
Final Memory: 18M/604M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: The rule 'OCLint:use container literal' 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.
returnValue=1
set +x
ERROR - Command 'sonar-runner ' failed with error code: 1
Build step 'Execute shell' marked build as failure
Finished: FAILURE
The text was updated successfully, but these errors were encountered:
Please help me to resolve this issue.
I am facing error while running the "sonar-runner" cmd.
I am using Xcode 7.3 with iOS 9., OCLint version 0.11.
Skipping tests as no test scheme has been provided!
Running OCLint...
Path included in oclint analysis is: --include .*/sonar_IOS_diver/GoodTransport
Running SonarQube using SonarQube Runner
SonarQube Runner 2.4
Java 1.8.0_51 Oracle Corporation (64-bit)
Mac OS X 10.11.6 x86_64
INFO: Runner configuration file: /Users/distribution/Desktop/sonar/sonar-runner-2.4/conf/sonar-runner.properties
INFO: Project configuration file: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/sonar-project.properties
INFO: Default locale: "zh_CN", source code encoding: "UTF-8"
INFO: Work directory: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/./.sonar
INFO: SonarQube Server 5.1.1
16:49:34.108 INFO - Load global repositories
16:49:34.334 INFO - Load global repositories (done) | time=228ms
16:49:34.335 INFO - Server id: 20170106152445
16:49:34.336 INFO - User cache: /Users/distribution/.sonar/cache
16:49:34.342 INFO - Install plugins
16:49:34.414 INFO - Install JDBC driver
16:49:34.421 INFO - Create JDBC datasource for jdbc:mysql://192.168.199.132:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
16:49:35.297 INFO - Initializing Hibernate
16:49:36.243 INFO - Load project repositories
16:49:37.109 INFO - Load project repositories (done) | time=866ms
16:49:37.110 INFO - Load project settings
16:49:37.320 INFO - Load technical debt model
16:49:37.338 INFO - Apply project exclusions
16:49:37.506 INFO - ------------- Scan IOS_Driver
16:49:37.510 INFO - Load module settings
16:49:37.606 INFO - Language is forced to objc
16:49:37.614 INFO - Load rules
16:49:37.969 INFO - Base dir: /Users/distribution/.jenkins/workspace/sonar_IOS_diver
16:49:37.969 INFO - Working dir: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/.sonar
16:49:37.970 INFO - Source paths: GoodTransport
16:49:37.970 INFO - Source encoding: UTF-8, default locale: zh_CN
16:49:37.971 INFO - Index files
16:49:38.462 INFO - 1115 files indexed
16:49:48.621 INFO - Quality profile for objc: OCLint
16:49:48.871 INFO - JaCoCoSensor: JaCoCo report not found : /Users/distribution/.jenkins/workspace/sonar_IOS_diver/target/jacoco.exec
16:49:48.871 INFO - JaCoCoItSensor: JaCoCo IT report not found: /Users/distribution/.jenkins/workspace/sonar_IOS_diver/target/jacoco-it.exec
16:49:48.883 INFO - Sensor Lines Sensor
16:49:48.976 INFO - Sensor Lines Sensor (done) | time=93ms
16:49:48.976 INFO - Sensor QProfileSensor
16:49:48.979 INFO - Sensor QProfileSensor (done) | time=3ms
16:49:48.979 INFO - Sensor InitialOpenIssuesSensor
16:49:49.158 INFO - Sensor InitialOpenIssuesSensor (done) | time=179ms
16:49:49.158 INFO - Sensor ProjectLinksSensor
16:49:49.166 INFO - Sensor ProjectLinksSensor (done) | time=8ms
16:49:49.166 INFO - Sensor VersionEventsSensor
16:49:49.183 INFO - Sensor VersionEventsSensor (done) | time=17ms
16:49:49.183 INFO - Sensor ObjectiveCSquidSensor
16:49:50.264 INFO - Sensor ObjectiveCSquidSensor (done) | time=1081ms
16:49:50.265 INFO - Sensor Objective-C SurefireSensor
16:49:50.265 INFO - parsing sonar-reports
16:49:50.307 INFO - Sensor Objective-C SurefireSensor (done) | time=43ms
16:49:50.308 INFO - Sensor org.sonar.plugins.objectivec.coverage.CoberturaSensor@2034ceab
16:49:50.315 INFO - Processing coverage report /Users/distribution/.jenkins/workspace/sonar_IOS_diver/sonar-reports/coverage.xml
16:49:50.316 INFO - Sensor org.sonar.plugins.objectivec.coverage.CoberturaSensor@2034ceab (done) | time=8ms
16:49:50.316 INFO - Sensor org.sonar.plugins.objectivec.violations.OCLintSensor@57a41c4b
16:49:50.316 INFO - Processing OCLint report /Users/distribution/.jenkins/workspace/sonar_IOS_diver/sonar-reports/oclint.xml
16:49:50.438 ERROR - Reporting 5335 violations.
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 16.827s
Final Memory: 18M/604M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: The rule 'OCLint:use container literal' 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.
ERROR - Command 'sonar-runner ' failed with error code: 1
Build step 'Execute shell' marked build as failure
Finished: FAILURE
The text was updated successfully, but these errors were encountered: