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","value":"trunk"},{"name":"goal","value":"package"}]}]
INFO: POST data:[token=...]

the jobs starts correctly but fails with such error

FATAL: Null value not allowed as an environment variable: 
tagjava.lang.IllegalArgumentException 
<http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalArgumentException>:
 Null value not allowed as an environment variable: tag


any suggestion? what am I missing ?


regards

Michele

Reply via email to