Ciao Alessio,
I'm trying to install the hook and I'm getting into some problem.
I succesfully installed the plugin, restarted redmine and it currently sees it.
Configured a project and linked to a local clone of a bitbucket repository which just works fine. Manual commits and pushes are showed correctly on redmine.
When I try to manually go to http://www.myserver.it/redmine/bitbucket_hook I receive a 500 error and this is what shows up on my logs
Processing BitbucketHookController#index (for xxx.xxx.xxx.xxx at 2011-09-26 22:36:00) [GET]
Parameters: {"action"=>"index", "controller"=>"bitbucket_hook"}
TypeError (can't convert nil into String):
json (1.5.1) lib/json/common.rb:148:in `initialize'
json (1.5.1) lib/json/common.rb:148:in `new'
json (1.5.1) lib/json/common.rb:148:in `parse'
vendor/plugins/nolith-redmine-bitbucket/app/controllers/bitbucket_hook_controller.rb:8:in `index'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'
Rendering /opt/redmine-1.2.1-1/apps/redmine/public/500.html (500 Internal Server Error)
Any clues?
Thank you