title: How to add path variable to job shell
body: <p>I am setting up Jenkins to replace our current TeamCity CI build.</p>
  
  <p>I have created a free-style software project so that I can execute a shell script.
  The Shell script runs the mvn command.</p>
  
  <p>But the build fails complaining that the 'mvn' command cannot be found.</p>
  
  <p>I have figured that this is because Jenkins is running the build in a different shell, which does not have Maven on it's path.</p>
  
  <p>My question is; how do I add the path so 'mvn' is found in my Shell script? I've looked around but can't spot where the right place might be.</p>
  
  <p>Thanks for your time.</p>