Preserving last n working days builds

2014-07-09 Thread varun srivastava
Hi, I want to preserve last 3 days build for my projects. But I do not run the builds on weekends, so I essentially want to preserve builds for last 3 working days. Is there a way to achieve this in jenkins. Thanks Varun -- You received this message because you are subscribed to the Google G

Re: Running test cases as different user in Jenkins

2014-07-09 Thread varun srivastava
Elfert wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/03/2014 02:23 PM, varun srivastava wrote: > > > Not really a jenkins question. More like a generic Unix question: > "How to share certain directories or files between different users, &g

Re: Running test cases as different user in Jenkins

2014-07-03 Thread varun srivastava
at the files in the u2 job will always be owned by user u2. > > Mark Waite > > > On Thu, Jul 3, 2014 at 6:57 AM, varun srivastava > wrote: > >> Thanks Mark, >> >> But running the slave node as u2 would mean that u1 can run any command >> as u2 (equivalent to

Re: Running test cases as different user in Jenkins

2014-07-03 Thread varun srivastava
cute the tests as > user "u2". > > Mark Waite > > > On Thu, Jul 3, 2014 at 6:23 AM, varun srivastava > wrote: > >> Hi, >> >> I have a centralized jenkins setup run as user u1. Different projects are >> set up on this instance. For running some

Running test cases as different user in Jenkins

2014-07-03 Thread varun srivastava
Hi, I have a centralized jenkins setup run as user u1. Different projects are set up on this instance. For running some testcases in some project, application user u2 permission is required. So I have granted permission to u1 to sudo as u2 only for running the test script/command. For example u

Re: Conditional build steps for maven projects

2014-02-17 Thread varun srivastava
yle job. Add a build step of type > "Invoke top-level Maven targets". Then you can use conditional build steps > and all other features of freestyle builds. > > Regards, > Eric > > > On 2/17/2014 2:13 AM, varun srivastava wrote: > > Hi, > > How can I run

Conditional build steps for maven projects

2014-02-16 Thread varun srivastava
Hi, How can I run conditional steps with Maven projects ? For free style projects I am able to set up conditional steps but this seems not available with Maven projects. Additionally I also want to publish findbugs/pmd reports conditionally in maven projects. Again this looks possible using