Have you tried posting it to /config.xml ? I know that works for /job/xyz/config.xml
On Tuesday, March 26, 2013 12:20:05 AM UTC-4, JohnA wrote: > > Hi, > > I have all my jobs configured via scripts and so all that remains for a > full automated configuration is a few things in the main config.xml. I > tried the api/xml interface but it seems it is not implemented at this > point (as of Jenkins 1.508). > > I need to configure the following: > > > - a handful of environment variables > - the main email config for SMTP server, etc. > - set up some Nodes > - set up some Views > - create some lock names for the Locks and Latches plugin > - set up the parameters for the XVNC plugin > - some other odds and ends > > I've searched the net and it seems the favorite (only?) way available is > to: > > - copy the config.xml using ssh from the server > - modify it locally > - send it back to the CI server and finally, > - use the API to reload the config from disk to pick up the changes. > > My questions are: > > - What are the pros and cons of doing it this way? > - Are there any better alternatives? > > Thanks in advance for your help, > John > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
