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, where each user shall be able to write/delete

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

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

Re: Running test cases as different user in Jenkins

2014-07-03 Thread varun srivastava
Waite On Thu, Jul 3, 2014 at 6:23 AM, varun srivastava varun.itbh...@gmail.com wrote: 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

Re: Running test cases as different user in Jenkins

2014-07-03 Thread varun srivastava
will always be owned by user u2. Mark Waite On Thu, Jul 3, 2014 at 6:57 AM, varun srivastava varun.itbh...@gmail.com wrote: Thanks Mark, But running the slave node as u2 would mean that u1 can run any command as u2 (equivalent to giving complete sudo permission for u2). I have restriction

Re: Conditional build steps for maven projects

2014-02-17 Thread varun srivastava
build in a freestyle 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 steps with Maven projects

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