Re: trigger build from rest - Null value not allowed as an environment variable

2012-06-28 Thread Michele Sacchetti
Ok maybe I found a workaround for this The Post method with Json does not work with the SVN Tag parameters (I could not find a solution not any issue opened on this) The solution seems to be using a different url to submit the build : http://ci.mydomain/job/pmyjob/*buildWithParameters *and subm

Re: trigger build from rest - Null value not allowed as an environment variable

2012-06-28 Thread Michele Sacchetti
a small add-on, the problem seems to be related to the fact that the field is of type "List Subversion type" instead of a simple string. POST is working fine if i switch type to string , maybe I have to specify other values other then simple name/value ?

trigger build from rest - Null value not allowed as an environment variable

2012-06-28 Thread Michele Sacchetti
Hi All I'm trying to trigger a build from a java client through Rest API the build is parametrized: - tag : SVN tag - goal : maven goal I submit a POST to the build URL with such parameters INFO: url:[http://ci.mydomain/job/myjob/build] INFO: POST data:[json={"parameter":[{"name":"tag"