Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have one dedicated server which has the whole Lamp-Stack, SVN and Hudson installed. I would like to create a freestyle Hudson job, that gets the latest sourcecode out of my SVN-repository and puts it into my /var/www/myWebApp Folder.

How does the shell script need to look like?

share|improve this question
    
For more answers on this question see the x-post on Stackoverflow.com stackoverflow.com/questions/4185848/… –  Peter Schuetze Nov 15 '10 at 20:47

1 Answer 1

up vote 0 down vote accepted

If you're not worried about history, this sounds fairly easy. Keep in mind, this is NOT specific to Hudson--this is just a single SVN command.

svn export https://path/to/svn/repo /var/www/myWebApp

Andrew

share|improve this answer
    
Don't link your job to a repository, otherwise you would checkout the code to your working directory first. –  Peter Schuetze Nov 15 '10 at 20:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.