title: Maven not found in Jenkins
body: <p>I am running my Maven/Spring project in Jenkins (just testing it out, first time) using the shell script option with:</p>
  
  <p><code>mvn spring-boot:run</code></p>
  
  <p>I get the build error:
  <code>/Users/Shared/Jenkins/tmp/jenkins8087926087546049217.sh: line 2: mvn: command not found</code></p>
  
  <p>How can I fix this? Its a Spring-boot app. It works fine when I run <code>mvn spring-boot:run</code> via command line.</p>