title: Can a Linux Jenkins stop / start an IIS website during pipeline build?
body: <p>I'm currently trying to build a php application in a Linux Jenkins server and then publishing the build artifacts to a remote windows server using IIS via a the Publish Over CIFS plugin.</p>
  
  <p>However, if the app is in use the plugin Publish Over CIFS will not allow me to write to the windows share, saying that it is in use. This makes me believe that I need to somehow start/stop the IIS website while publishing.</p>
  
  <p>Has anyone had experience with this? Is there a better way to publish PHP Artifacts from Jenkins on Linux to a separate remote windows IIS server?</p>