“Sonarqube”的版本间的差异
跳到导航
跳到搜索
第1行: | 第1行: | ||
=安装Sonar-Scanne= | =安装Sonar-Scanne= | ||
+ | |||
+ | zip | ||
+ | https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner/ | ||
<pre> | <pre> | ||
+ | |||
+ | cd data/apps | ||
+ | 10006 ls | ||
+ | 10007 unzip sonar-scanner-cli-6.1.0.4477-linux-x64.zip | ||
+ | |||
+ | vim /etc/profile | ||
+ | |||
+ | #配置sonar-scanner | ||
+ | |||
+ | export SONARRUNNER_HOME=/home/evan/data/apps/sonar-scanner-6.1.0.4477-linux-x64 | ||
+ | export PATH=$SONARRUNNER_HOME/bin:$PATH | ||
</pre> | </pre> |
2024年9月3日 (二) 12:49的版本
安装Sonar-Scanne
zip https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner/
cd data/apps 10006 ls 10007 unzip sonar-scanner-cli-6.1.0.4477-linux-x64.zip vim /etc/profile #配置sonar-scanner export SONARRUNNER_HOME=/home/evan/data/apps/sonar-scanner-6.1.0.4477-linux-x64 export PATH=$SONARRUNNER_HOME/bin:$PATH
Maven Fatal error compiling: 错误: 无效的目标发行版:17 升级jdk jave home 改为 21的 或者大于17的