Sven Van Caekenberghe-2 wrote
> client
> contents: '
>
> ..
>
> ';
> contentType: ZnMimeType applicationXml;
Thanks! That did the trick :)
-
Cheers,
Sean
--
View this message in context:
http://forum.world.st/Zinc-Posting-aString-tp4693047p4693050.htm
Ha, my favourite User(™),
On 12 Jun 2013, at 18:08, "Sean P. DeNigris" wrote:
> In the Jenkins REST API, you create a new job by posting a config.xml to
> http://server_url/createItem?name=NewJobName
>
> Using an existing template file was easy enough:
> ZnClient new
> url: restUrl;
>
In the Jenkins REST API, you create a new job by posting a config.xml to
http://server_url/createItem?name=NewJobName
Using an existing template file was easy enough:
ZnClient new
url: restUrl;
queryAt: 'name' put: aString;
uploadEntityFrom: '/path/to/config.xml';
c