title: flutter: command not found when run shell script in Jenkins
body: <p>I have created test.sh with the following content:</p>
  
  <pre><code>#!/bin/bash
  echo "Hello world"
  flutter doctor
  </code></pre>
  
  <p>Everything works fine when I run this script via Terminal:</p>
  
  <pre><code>sh test.sh
  </code></pre>
  
  <p>But my script fails when I run it via Jenkins. I get the following error:</p>
  
  <pre><code>line 3: flutter: command not found
  </code></pre>
  
  <p>My .bash_profile is:</p>
  
  <pre><code>export PATH="$PATH:~/Development/flutter/bin"
  </code></pre>