我正在尝试从我的jenkins节点运行soanrQube扫描,Sonar扫描仪的版本是SonarQube Scanner 3.1.0.1141 SonarQube服务器是SonarQube服务器5.6.4。谁能帮我这个忙。
05:13:57.811 DEBUG: Execution execute
05:13:58.100 DEBUG: Publish global mode
05:13:58.193 INFO: Load global repositories
05:13:58.243 DEBUG: GET 401 http://XXXXXXXXXXXXX/batch/global | time=50ms
05:13:58.244 INFO: ------------------------------------------------------------------------
05:13:58.245 INFO: EXECUTION FAILURE
05:13:58.245 INFO: ------------------------------------------------------------------------
05:13:58.245 INFO: Total time: 1.179s
05:13:58.279 INFO: Final Memory: 9M/491M
05:13:58.279 INFO: ------------------------------------------------------------------------
05:13:58.279 ERROR: Error during SonarQube Scanner execution
05:13:58.280 ERROR: Unable to load component class org.sonar.batch.bootstrap.BatchPluginInstaller
05:13:58.280 ERROR: Caused by: Unable to load component class org.sonar.home.cache.FileCache
05:13:58.280 ERROR: Caused by: Unable to load component class org.sonar.batch.bootstrap.GlobalSettings
05:13:58.280 ERROR: Caused by: Unable to load component class org.sonar.scanner.protocol.input.GlobalRepositories
05:13:58.280 ERROR: Caused by: Not authorized. Please check the properties sonar.login and sonar.password.
05:13:58.280 ERROR:
05:13:58.280 ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
Picked up _JAVA_OPTIONS: -Xmx8192m
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] sonar: `sonar-scanner`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] sonar script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\apps\node-v10.16.2-win-x64\_logs\2019-11-15T10_13_58_358Z-debug.log
还有其他日志文件吗?您发布的内容并没有暗示发生了什么问题。您是否看过$ SONARQUBE_HOME / logs / web.log?那应该为您指明正确的方向。