title: Can I use cygwin to script a hudson build step?
body: <p>I've tried executing the following:</p>
  
  <pre><code>#!C:\cygwin\bin\bash.exe
  ls ${WORKSPACE}
  </code></pre>
  
  <p>But that doesn't find ls (even if it's on the windows path).  Is there any way to set this up?</p>
  
  <p><strong>UPDATE</strong>:  In other words, I want to be able to set up a build step that uses cygwin bash instead of windows cmd like <a href="http://wiki.hudson-ci.org/display/HUDSON/Shells" rel="nofollow noreferrer">this page</a> shows you how to do with Python.</p>