Hudson Shellscript for exporting Sourcecode from SVN repository into production folder -
i have 1 dedicated server has whole lamp-stack, svn , hudson installed. create freestyle hudson job, gets latest sourcecode out of svn-repository , puts /var/www/mywebapp folder.
how shell script need like?
edit
when use
svn export myrepourl mywebappfolder
i erro, stating:
started user anonymous reverting http://myipadress/repos updating http://myipadress/repos @ revision 2 no change http://myipadress/repos since previous build [workspace] $ /bin/sh -xe /tmp/hudson7864414135197533508.sh + svn export http://myipadress/repos/myrepo /var/www/mywebapp authentication realm: <http://myipadress> subversion repository password 'hudson': authentication realm: <http://myipadress> subversion repository username: svn: propfind request failed on '/repos/myrepo' svn: propfind of '/repos/myrepo': authorization failed (http://myipadress) finished: failure
it should below
svn export [your svn url] /var/www/mywebapp
do let me know if missing here ?
Comments
Post a Comment