sonar踩過的坑
maven項目使用sonar稽核代碼:https://my.oschina.net/duojin/blog/1836597
權限問題。 sonar es can not run elasticsearch as root:參考部落格https://blog.csdn.net/zdyueguanyun/article/details/79447260
mvn sonar:mvn sonar:sonar -dsonar.host.url=http://localhost:9000 -dsonar.login=e3e07fb788571c35a8014af358d29256bf216b02
scm provider autodetection failed. both svn and git claim to support this project. please use sonar.scm.provider to define scm of your project.
sonar+svn:不依賴svn 配置scm為true
please provide compiled classes of your project with sonar.java.binaries property
null:null:null的問題:jar包下載下傳不全,需要删除倉庫,重新下載下傳
sonar 資料庫占滿了,直接崩潰了,啟動的時候爆出 quit without update pid,崩潰
jenkins踩過的坑:
jenkins修改端口指令:java -jar jenkins.war --ajp13port=-1 --httpport=8081
jekins登陸進去空白或者沒有權限:https://blog.csdn.net/kuangay/article/details/80628459
brew 安裝後jenkins配置檔案的路徑:https://www.cnblogs.com/qiaoyeye/p/8438677.html
jekins忘記密碼的解決方案:https://blog.csdn.net/jlminghui/article/details/54952148
svn本地搭建踩過的坑:
mac搭建本地svn服務:https://www.cnblogs.com/czq1989/p/4913692.html
svn://localhost:8085
啟動svn指令:svnserve -d -r /users/panda/svn/mycode --listen-port 8085
github問題踩過的坑:
配置git公鑰:https://blog.csdn.net/gulingfengze/article/details/69665223
解決方案 [email protected]出現permission denied (publickey):https://www.cnblogs.com/lxwphp/p/7884700.html
sonar+jekins內建:
http://blog.itpub.net/28624388/viewspace-2153875/
analysis properties:
sonar.projectkey=testsonar
sonar.projectname=testsonar
sonar.projectversion=1.0
sonar.language=java
sonar.java.binaries=target/classes/
sonar.sources=src
springboot 部署問題
定義打成war包的名稱:
<build>
<finalname>projectname</finalname>
</build>
application 繼承
sonar+maven出現的問題:
sonar maven:maven error in opening zip file https://blog.csdn.net/tengdazhang770960436/article/details/51746727 删除了本地倉庫,重新下載下傳,依舊失敗!!!尚未解決
please provide compiled classes of your project with sonar.java.binaries property -> [help 1] 需要先編譯