Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » SVN Publisher Clarifications Needed(file not copied from workspace to svn)
SVN Publisher Clarifications Needed [message #1094094] Sun, 25 August 2013 01:07 Go to next message
hariprasadh balasubramanian is currently offline hariprasadh balasubramanian
Messages: 18
Registered: April 2013
Junior Member
Hello,
Iam using Hudson 3.0.1
SVN Publisher Plugin:1.0
Installed svn publisher successfully
Options are available under PostBuildActions sections as
Publish to svn

now i gave
SVN URL : http:/*.*.*.*:18081/svn/**/dist/
Target Path :/var/lib/hudson/jobs/***/workspace/dist/ or _WORKSPACE_/dist
Item Pattern: .*\.war or .*war or filename.war
in dist iam having war file and that has to be placed in svn dist path




war:
[war] Building war: /var/lib/hudson/jobs/findsresumecas/workspace/dist/findsresume.war

BUILD SUCCESSFUL
Total time: 1 second
workspace: /var/lib/hudson/jobs/***/workspace/
Attempting to import to SVN: http://*.*.*.*:18081/svn/***/dist/
SVN Publisher: target: /var/lib/hudson/jobs/***/workspace/dist/*.war
Finished: SUCCESS

but the file not copied to svn location.
Please check the target path and item pattern what iam giving is correct or not.
Suggest some solutions to get rid of this

[Updated on: Mon, 26 August 2013 01:49]

Report message to a moderator

Re: SVN Publisher Clarifications Needed [message #1094729 is a reply to message #1094094] Mon, 26 August 2013 01:38 Go to previous messageGo to next message
hariprasadh balasubramanian is currently offline hariprasadh balasubramanian
Messages: 18
Registered: April 2013
Junior Member
Please somebody have a look on this.
Re: SVN Publisher Clarifications Needed [message #1098369 is a reply to message #1094729] Fri, 30 August 2013 21:26 Go to previous message
Winston Prakash is currently offline Winston Prakash
Messages: 349
Registered: August 2011
Location: Fremont, CA USA
Senior Member
I was able to successfully publish. Following images shows my test builder to create a dummy file, SVN publisher configuration, build console output and the SVN repository browser showing the uploaded file

https://dl.dropboxusercontent.com/u/13144273/svn-publisher-builder.png


https://dl.dropboxusercontent.com/u/13144273/svn-publisher-conf.png


https://dl.dropboxusercontent.com/u/13144273/svn-publisher-console.png


https://dl.dropboxusercontent.com/u/13144273/svn-publisher-result.png

There are few issues with this plugin

- Saves the password in plain text
- Will not work if the build happens in a slave
- Does not provide job wise overriding of SVN credentials

I will fix all these and release a new version.




Winston Prakash
Eclipse Hudson team

[Updated on: Fri, 30 August 2013 21:26]

Report message to a moderator

Previous Topic:Hudson exception for git clone
Next Topic:Build initiator
Goto Forum:
  


Current Time: Sun Apr 20 22:59:32 EDT 2014

Powered by FUDForum. Page generated in 0.03746 seconds