简体   繁体   English

sonarqube-您必须安装支持语言“python”的插件

[英]sonarqube-You must install a plugin that supports the language ‘’python‘’

when I use sonar-project.properties :当我使用 sonar-project.properties 时:

sonar.projectKey=gauge
sonar.sources=step_impl/
sonar.language=python
sonar.sourceEncoding=UTF-8

I got error msg below:我收到以下错误消息:

01:05:46 INFO: Final Memory: 12M/185M
01:05:46 INFO: ------------------------------------------------------------------------
01:05:46 ERROR: Error during SonarScanner execution
01:05:46 ERROR: You must install a plugin that supports the language 'python'
01:05:46 ERROR: 
01:05:46 ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.

use: sonar.language=py使用: sonar.language=py

the problem was solved!问题解决了!

It sounds like that sonar.language needs to be set to the checked scripts suffix.听起来 sonar.language 需要设置为 checked scripts 后缀。 Not the language name itself!不是语言名称本身!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM