modified deploy.rb and added template hudson.xml.erb