title: File is not under version control when commiting from jenkins to SVN after sccessful build
body: <p>Building a Maven (Java) project with Jenkins, I would like to commit my pom.xml when the build process ends (the pom changes during the build).</p>
  
  <p>To do that I used the <a href="https://i.stack.imgur.com/Cb0l4.png" rel="nofollow noreferrer">Conditional BuildStep Plugin</a> (of Jenkins) and triggered the following shell command:</p>
  
  <pre><code>svn commit -m "Committing pom with newly Autoincremented version" _WORKSPACE/_pox.xml
  </code></pre>
  
  <p>Here is how it looks:</p>
  
  <p><img src="https://i.stack.imgur.com/Cb0l4.png" alt="enter image description here"></p>
  
  <p>The commit fails with this message:</p>
  
  <pre><code>Run condition [Current build status] enabling perform for step [Execute shell]
  [workspace] $ /bin/sh -xe /tmp/hudson2955093422560733923.sh
  + svn commit -m Committing pom with newly Autoincremented version pox.xml
  svn: E200009: Commit failed (details follow):
  svn: E200009: '/var/lib/jenkins/jenkins-data/jobs/RTB/workspace/pox.xml' is not under version control
  Build step 'Conditional step (single)' marked build as failure
  
    [1]: https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin
    [2]: http://i.stack.imgur.com/M8srY.png
  </code></pre>
  
  <p>I navigated to this path in my Jenkins server (/var/lib/jenkins/jenkins-data/jobs/RTB/workspace/) and triggered a commit from there (using command line) and it worked. I really don't understand why can't it be done from Jenkins.</p>
  
  <p>Any help is appreciated.</p>