php - svn checkout not working via phing -
php - svn checkout not working via phing -
i'm trying write internal application able deploy our projects acceptance , production servers single click. using phing accomplish this.
at moment i'm having difficulty checking out (or doing svn export) project. utilize next command:
<exec command="svn checkout ${svn.host} ${svn.exportdir} --force --username server --password <password>" /> on normal command line works perfectly, prompted take certificate because host uses https. problem there seems no parameter automatically take certificate.
the --trust-server-cert doesn't help either, becase certificate rejected due hostname mismatch, parameter bypasses "ca unknown"-error.
any ideas on how can check out (or export, update, ...) project?
do wget on svn servers https adress , take certificate permanently.
$ wget https://svn.mydomain.com/repos and press p take cert.
i added hints php documentation problems certificates:
simply phone call
svn checkout https://svn.mydomain.com/repos --force --username server --password imps+nana0kif on command line , take cert.
there still problem when user executes phing command not root, have execute command user runs phing command:
su wwwrun wget https://... su wwwrun svn checkout https://... php svn phing
Comments
Post a Comment