title: how to get list of all modified files in pipeline jenkins?
body: <p>I'm using multibranch pipeline and i need to get the list of modified files.  </p>
  
  <p>i tried  </p>
  
  <p><code>git diff $PREVIOUS_COMMIT $COMMIT</code>  </p>
  
  <p>but they have the same SHA.    </p>