I wana don't add sonar in build.gradle and before running the job of sonarqube add the plugin and to that in ci and after that run the script
我不想在build.gradle中添加声纳,在运行Sonarqube作业之前,将插件和添加到ci中,然后运行脚本
更多回答
优秀答案推荐
It is unclear what you want to achieve,pipeline can be set=up in different ways.
Try:
目前还不清楚你想要实现什么,管道可以用不同的方式建立起来。尝试:
- write docker-compose with Jenkins and Sonarqube
- login to Jenkins(passwd at /var/jenkins_home/secrets/initialAdminPassword)
- install plugins for Sonarqube(Code Sonar Plugin,Plain Credential Plugin,SonarQube Scanner for Jenkins)
Read the official SonarScanner for Maven documentation.
阅读官方的SonarScanner for Maven文档。
更多回答
我是一名优秀的程序员,十分优秀!