Jenkins maven build fail in linux machine
<p>My maven command execute fine in windows jenkins server but When i try to execute in linux machine,build got failed</p>

<p><strong>I have tried Shell command build as belo</strong>w :</p>

<pre><code>mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:copy -Dartifact=com.uhg.optum.acc:cores-binaries:%PLATFORM_CORE_VERSION% -DoutputDirectory=. -Dmdep.useBaseVersion=true
</code></pre>

<p><strong>Console Output</strong> :</p>

<blockquote>
  <p>[EnvInject] - Loading node environment variables. Building remotely on
  BuildSwarm-6d98547c91e1-apsrp4109.uhc.com (docker-maven-slave) in
  workspace /home/jenkins/workspace/2.3.0 Deployment Artifacts
  (QualityMeasures-Platform) [2.3.0 Deployment Artifacts
  (QualityMeasures-Platform)] $ /bin/sh -xe
  /tmp/hudson3262693666907249961.sh
  + mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:copy -Dartifact=com.uhg.optum.acc:cores-binaries:%PLATFORM_CORE_VERSION% -DoutputDirectory=. -Dmdep.useBaseVersion=true /tmp/hudson3262693666907249961.sh: line 2: mvn: command not found
  Build step 'Execute shell' marked build as failure Archiving artifacts
  Finished: FAILURE</p>
</blockquote>

<p>Please help me</p>