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 05: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 05:49]

Report message to a moderator

Re: SVN Publisher Clarifications Needed [message #1094729 is a reply to message #1094094] Mon, 26 August 2013 05: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] Sat, 31 August 2013 01:26 Go to previous messageGo to next message
Winston Prakash is currently offline Winston Prakash
Messages: 428
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: Sat, 31 August 2013 01:26]

Report message to a moderator

Re: SVN Publisher Clarifications Needed [message #1412993 is a reply to message #1098369] Wed, 27 August 2014 14:15 Go to previous message
Harish P is currently offline Harish P
Messages: 1
Registered: August 2014
Junior Member
I too have the same problem. My scenario is also simple. After every build, i will need to update binaries to svn.

SVN URL: <svn-path>/builds/binaries
Target path: _WORKSPACE_/trunk/build/binaries
Items: Pattern - *.war
Name -
Path -

Following is the log that i see..

workspace: /orasoft01/product/Middleware/user_projects/domains/DMS_domain/servers/WLS_Hudson/output/jobs/MyStore-OWC/workspace/
Attempting to import to SVN: <svn-path>/builds/binaries
SVN Publisher: target: /orasoft01/product/Middleware/user_projects/domains/DMS_domain/servers/WLS_Hudson/output/jobs/MyStore-OWC/workspace/trunk/build/binaries
Finished: SUCCESS


Am i missing something obvious here ? I neither see an error in the log nor the files in svn.
Previous Topic:violations plugin doesn't show up
Next Topic:unable to update new repository url in hudson jobs
Goto Forum:
  


Current Time: Thu Oct 30 13:11:19 GMT 2014

Powered by FUDForum. Page generated in 0.01789 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software