Can you define a job (using the web interface, interactively) and then copy the resulting config.xml as your starting point?
I've stored copies of config.xml so that I can watch the evolution of the job definition over time, and it has worked quite well. Mark Waite On Wed, Apr 22, 2015 at 12:45 PM Samith Dassanayake <hisam...@gmail.com> wrote: > Hi all, > > I'm trying to create a jenkins job using the Jenkins remote access API[1]. > What I want to achieve is, I want to specify the local maven repository for > the job, using the job configuration(config.xml) which I send to the create > job API. How can I achieve that? What are xml attributes that I should have > added(or changed)? > > Please advice > > [1] https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API > > Thanks, > Samith > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/f00039d5-6705-4edb-ae44-99e933564117%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/f00039d5-6705-4edb-ae44-99e933564117%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF5tfEHpPpcyHKPazpJfB9uNxe%2BDPsMjuu39X4TFWmfpw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.