diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-01-14 11:01:50 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-01-14 11:59:31 +0100 |
commit | ad07d0c73c1b8d9dc46077e966999be5de95a1ad (patch) | |
tree | 8063e24f66c8cf47c4e7202e639b6284f76a2f7f /sonar-server | |
parent | 9094c00d7003b1c4996faa6e851fad7aaaf1b8ed (diff) | |
download | sonarqube-ad07d0c73c1b8d9dc46077e966999be5de95a1ad.tar.gz sonarqube-ad07d0c73c1b8d9dc46077e966999be5de95a1ad.zip |
SONAR-4069 Provide a new Task extension point
* Running Sonar batch do not require to be on a project
* Sonar project analysis is now a task (default task)
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb index 45fd241e2f4..ebc5a53524f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb @@ -32,8 +32,6 @@ class BatchBootstrapController < Api::ApiController # GET /batch_bootstrap/properties?project=<key or id> def properties - require_parameters :project - json_properties=Property.find(:all, :conditions => ['user_id is null and resource_id is null']).map { |property| to_json_property(property) } root_project = load_project() @@ -71,4 +69,4 @@ class BatchBootstrapController < Api::ApiController true end end -end
\ No newline at end of file +end |