post-commit.cmd

@echo off
SET REPOS=%1
SET USER=%2
SET SVN="D:\Program Files (x86)\VisualSVN Server\bin\svn.exe"
SET DIR="D:\AppServ\www\airasia-test"
(call %SVN% update %DIR% --username kongdq --password 123456 --non-interactive)

 

先设置钩子,然后在windows服务中svn server使用超级管理员帐号(不然会由于权限问题提交后报错),如下图

windows SVN提交后自动更新钩子

相关文章:

  • 2022-01-01
  • 2021-12-29
  • 2022-01-20
  • 2022-02-28
  • 2022-02-10
  • 2022-12-23
  • 2022-01-01
  • 2022-02-03
猜你喜欢
  • 2021-05-17
  • 2021-11-30
  • 2021-07-30
  • 2021-09-13
  • 2021-07-04
  • 2022-12-23
相关资源
相似解决方案