hudson svn publisher plugin not working

1.9k views Asked by At

I'm trying to use the SVN Publisher plugin to commit some artifacts of my build but I'm getting a non-sensical error:

workspace: /Users/builder/hudson/workspace/myproject/
Attempting to import to SVN: https://mysvnrepo.com/svn/myproject/_SNAPSHOT_
SVN Publisher: target:  /Users/builder/hudson/workspace/myproject/myproject/_build
SVN Publisher: Error: target Directory not accessable:  /Users/builder/hudson/workspace/myproject/myproject/_build

This path is readable by the user that the hudson slave is using.

In looking at the comments on the SVN Publisher page, it seems that some people have run across this problem while others have not.

My question is: for those of you that have gotten it to work, what did you do?

2

There are 2 answers

2
paleozogt On BEST ANSWER

It seems that the plugin is running on the hudson server even though the build is using slaves. This seems to be a bug in the SVN Publisher plugin. :(

0
josianator On

It looks like you should be able to utilize the "Copy files back to the job's workspace on the master node" to get these files back to the server (this part works for me). It appears to happen after SVN Publisher is run, but that would be OK and simply means that SVN publisher should be committing (or importing) the previous build. But alas, SVN publisher doesn't seem to be doing anything except logging a message.