title: Use groovy script to create folder on Jenkins slave
body: <p>I have a Windows machine as Jenkins slave. Using groovy script I need to achieve the following:</p>
  
  <p>1) Create a folder on the Jenkins slave</p>
  
  <p>2) Copy a file from local machine to the Jenkins slave</p>
  
  <p>3) Modify the PATH variable on the Jenkins slave</p>