mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
add sonarqube for projects
This commit is contained in:
6
config/initializers/sonarqube.rb
Normal file
6
config/initializers/sonarqube.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
Sonarqube.configure do |config|
|
||||
config.endpoint = 'http://172.20.32.202:9999' # API endpoint URL, default: ENV['SONARQUBE_API_ENDPOINT']
|
||||
config.private_token = 'squ_fb81f52a7b2c2db00c71c29f71c9595f48c2ff3f' # user's private token, default: ENV['SONARQUBE_API_PRIVATE_TOKEN']
|
||||
# Optional
|
||||
# config.user_agent = 'Custom User Agent' # user agent, default: 'Sonarqube Ruby Gem [version]'
|
||||
end
|
||||
Reference in New Issue
Block a user