title: Jenkins Pipeline - Maven compile failure
body: <p>Hello I keep running into this error when I try to compile the groovy script</p>
  
  <pre><code>stage('compile'){
      withMaven(maven: 'Maven_3.6.3') {
      sh 'mvn compile'
  }
  </code></pre>
  
  <p>I have tried deleting the dir in my ubuntu ssh and still getting the error failed to copy, any ideas.</p>
  
  <pre><code>Caused: java.io.IOException: Failed to copy /var/lib/jenkins/workspace/TeaCup-BE-Deck to /var/lib/jenkins/workspace/TeaCup-BE-Deck@tmp/withMavena4d15b3d/settings.xml
      at hudson.FilePath.copyTo(FilePath.java:2191)
      at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2.setupSettingFile(WithMavenStepExecution2.java:759)
      at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2.setupMaven(WithMavenStepExecution2.java:328)
      at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2.doStart(WithMavenStepExecution2.java:208)
      at org.jenkinsci.plugins.pipeline.maven.fix.jenkins49337.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:85)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
  </code></pre>