Sonar Web 是 Sonar 用于检查各种 Web 项目的插件,支持 HTML, JSP, JSF, Ruby, PHP 等
安装:
1. 下载 sonar-web-plugin-2.1.jar 到 SONARQUBE_HOME/extensions/plugins 目录
2. 重启 SonarQube 服务器
api/projects Manage project existence. POST api/projects/bulk_delete since 5.2 Delete one or several projects. Requires 'Administer System' permission. Hide Parameters ids optional List of project ids
#!/bin/bash env_name=$1 admin_name=$2 project_id=(111 222 333 4444) sonar_url_prod=SONAR_prod_URL/api/projects/destroy?id= sonar_url_uat=SONAR_uat_URL/api/projects/destroy?id= if [ $env_name == "uat"