The maven build step that is available with a freestyle project includes an Advanced button. I believe that Advanced panel includes options which will allow you to specify a maven repository per job.
On Wed, Apr 22, 2015 at 8:28 PM Samith Dassanayake <[email protected]> wrote: > Hi Mark, > > The problem is I want to define manually a local maven repository folder > instead of the defined in the global, per a job. To do that what are the > plugins that I have to install and what are the configurations that I > should change? > > Thanks, > Samith > > > On Thursday, April 23, 2015 at 12:46:02 AM UTC+5:30, Mark Waite wrote: > >> 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 <[email protected]> >> 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 [email protected]. >> >> >>> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/dda398b3-6940-420b-a039-ff756a4968b3%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/dda398b3-6940-420b-a039-ff756a4968b3%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFBSBv-Mr%2B3%2B1pNRCxUg-06a8PveY3F-0m0UGZ3v8wYvw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
