Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 balasubramanianFriend
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 balasubramanianFriend
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 PrakashFriend
Messages: 534
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 PFriend
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: Tue Mar 19 08:44:45 GMT 2024

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

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

Back to the top