title: Running AWS Command Line Interface using Jenkins installed through Docker: command not found?
body: <p>When running <code>aws</code> from Jenkins pipeline I have the following error message: <code>command not found</code> - <code>which aws</code> returns <code>command not found</code>.</p>
  
  <p>By other hand, when running <code>aws</code> from a single job it works - <code>which aws</code> returns <code>/usr/local/bin/aws</code>.</p>
  
  <p>Do you have any idea why this is happening?</p>
  
  <p>Thank you.</p>