Hi,
I have a ruby script that creates a release branch from trunk at the start of every release cycle in my project. we recently moved to hudson so I though it will be good if the script itself downloads and modifies Hudson release build config and posts it back. I read from
here that it is possible to programatically modify the configuration on Hudson and POST the same XML.
For example if the build is at URL
http://somthing.builder.ad/hudson/job/branch then
http://somthing.builder.ad/hudson/job/branch/config.xml is the configuration that can be modify and POST-ed back at the latter URL.
My ruby script always gives a 400. please help. here's the script
I also tried the RestClient but it seems that does not support POST'ing files