How to dynamically set the local maven repo for a jenkins job

2015-04-22 Thread Samith Dassanayake
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 tha

Re: How to dynamically set the local maven repo for a jenkins job

2015-04-22 Thread Samith Dassanayake
and it has worked quite well. > > Mark Waite > > On Wed, Apr 22, 2015 at 12:45 PM Samith Dassanayake > 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 t

How to dynamically set a local Maven repository per a set of Jobs

2015-04-26 Thread Samith Dassanayake
Hi all, I want to set a local maven repository per set of jobs dynamically.(kind of a job partitioning method) For an example job1, job2, job3 --> use /home/jenkins/dir1 job4, job5, --> use /home/jenkins/dir2 job7 --> use /home/jenkins/dir3 etc.. Is there a way to define local maven repository

Re: How to dynamically set a local Maven repository per a set of Jobs

2015-04-26 Thread Samith Dassanayake
advanced button which allows you to > configure the repository for that job. > > Mark Waite > > On Sun, Apr 26, 2015, 4:13 AM Samith Dassanayake > wrote: > >> Hi all, >> I want to set a local maven repository per set of jobs dynamically.(kind >> of a job par

Re: How to dynamically set a local Maven repository per a set of Jobs

2015-04-26 Thread Samith Dassanayake
? If > so, then you might use a "managed file" which contains the definition of > the repository you want for a specific job. > > The managed file is then assigned to the job through that same Advanced > settings dialog. > > Mark Waite > > On Sun, Apr 26, 2015

Can we restrict some job config fields from update operations

2015-05-06 Thread Samith Dassanayake
Hi all, Once we create a job, can we restrict some particular fields, for update using "Fetch/Update config.xml" rest endpointI. For example assume my job config is like below and I want to restrict changes to "*description*" field using rest api <*description*>deploys to cloud instan

How to change default permissions of created jobs in Jenkins file system

2015-06-16 Thread Samith Dassanayake
Hi all, When I create a job(say *foo*), if I check the /jobs/ directory all the jobs are created with the permission 755. But for my use case, when job is created, I want it to created with the 775(or with a given permission). How can I achieve that?. Appreciate your help.. Regards, Samith

Re: How to change default permissions of created jobs in Jenkins file system

2015-06-16 Thread Samith Dassanayake
already have options for this. > > On 16.06.2015, at 11:03, Samith Dassanayake > wrote: > > > Hi all, > > > > When I create a job(say foo), if I check the /jobs/ > directory all the jobs are created with the permission 755. But for my use > case, when job