File is not under version control when commiting from jenkins to SVN after sccessful build -


building maven (java) project jenkins, commit pom.xml when build process ends (the pom changes during build).

to used conditional buildstep plugin (of jenkins) , triggered following shell command:

svn commit -m "committing pom newly autoincremented version" _workspace/_pox.xml 

here how looks:

enter image description here

the commit fails message:

run condition [current build status] enabling perform step [execute shell] [workspace] $ /bin/sh -xe /tmp/hudson2955093422560733923.sh + svn commit -m committing pom newly autoincremented version pox.xml svn: e200009: commit failed (details follow): svn: e200009: '/var/lib/jenkins/jenkins-data/jobs/rtb/workspace/pox.xml' not under version control build step 'conditional step (single)' marked build failure    [1]: https://wiki.jenkins-ci.org/display/jenkins/conditional+buildstep+plugin   [2]: http://i.stack.imgur.com/m8sry.png 

i navigated path in jenkins server (/var/lib/jenkins/jenkins-data/jobs/rtb/workspace/) , triggered commit there (using command line) , worked. don't understand why can't done jenkins.

any appreciated.

your screenshot shows _workspace/_pom.xml yet error shows workspace/pom.xml. doesn't match up.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -