LoginSignup
0
2

More than 5 years have passed since last update.

RedmineからSVNのデータを自動で取得する設定

Posted at

SVNのほうでコミット後にRedmineにデータを更新するように通知を行う必要がある。
具体的には、下記のファイルを作り、
$ more /home/svn/repos/bio/nbb.ddca-job/hooks/post-commit

post-commit
#!/bin/sh
REPOS="$1" 
REV="$2"

/usr/bin/wget -q -O /dev/null http://192.168.1.47/redmine/sys/fetch_changesets?key=ZEOzxKhipA1uMOPGSlpZ

あとは、実行権限を与える。
chmod 755 /home/svn/repos/bio/nbb.ddca-job/hooks/post-commit

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2