title: Runbuild steps as a different user in Jenkins
body: <p>I use a centralized jenkins setup that is used to build projects for different groups. The jenkins is run as user u1. Some of test cases in different projects require some permission that is granted only to group specific user u2, u3 etc. I want to run the test cases as u2 from my jenkins.</p>
  
  <p>How in Jenkins can I run the maven/ant target as a different user than jenkins run user.
  I do not want to launch a slave node as u2 because that can run any command than just the test command.</p>
  
  <p>Please let me know if you have any suggestion.</p>
  
  <p>Thanks</p>