I think the ability to use an API to update the config of Jenkins would be
great so I'm interested in any answers to this. Right now I'm using Jenkins
Jobs Builder to build all my jobs for me but for certain things, its
hard/impossible to do in a controller manner.

For instance if I add a new job that scps using the Publish over SSH plugin
and the server being used is new, I can push my job changes into Jenkins
but then I have to manually go and add a config for that server.

Now I can probably whip up a groovy script or something (which I've tried
and failed so if anyone can help there then that'd be great :) ), but would
be good to have a more RESTful API approach to some of this.

Richard.


On Fri, Aug 9, 2013 at 9:16 AM, Daniel Beck <m...@beckweb.net> wrote:

> What are you actually trying to accomplish? I mean, if you're starting
> with a fresh instance (or at least set most of the settings) anyway, what's
> wrong with checking it out from SCM, rsyncing, or cloning a template VM?
>
> On 08.08.2013, at 22:51, J Arrizza <cppge...@gmail.com> wrote:
>
> > I currently have a set of scripts that I use to get/set all of the job
> parameters/settings/configuration. This means that I can take a machine
> with vanilla jenkins on it and pretty much recreate everything I care about
> in all the jobs.
> >
> > But there seems to be a few things missing to make this 100% automated:
> > - getting a list of plugins and their versions;  being able to install
> plugins from the API
> > - setting up views
> > - setting Global Properies (e,g Environment Variables)
> > - setting Locks (for the locks and latches plugin) on the "Manage
> Jenkins" page
> > - setting Xnvc (for the xvnc plugin) on the "Manage Jenkins" page
> > - setting Jenkins Location information and admin email info
> > - setting email notification information
> > - setting up Nodes
> >
> > I can take the "low road" and use scp to get the config.xml, modify it
> and push it back, but before I do that, is there any chance this kind of
> access is in future plans for Jenkins?
> >
> > Thanks
> > 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 jenkinsci-users+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to