且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

JIRA与TortoiseSVN的集成

更新时间:2022-01-24 22:24:40

在阅读有关此主题的TortoiseSVN文档时,我遇到了很多问题.这是我有关集成的发现.要集成Jira和TortoiseSvn,应执行一组指令.本指南假定您的jira服务器可通过以下URL访问: http://192.168.10.10:8090 .另外,假设您在Jira中的项目名称为SVNTEST.

I had lots of problems when reading TortoiseSVN documentation on the subject. Here are my findings about the integration. To integrate Jira and TortoiseSvn, a set of instructions should be performed. This guide suppose that your jira server is available through this url: http://192.168.10.10:8090. In addition, suppose that your project name in Jira is SVNTEST.

  1. 在jira服务器上为jira安装svn插件.使用此链接以获取更多信息.
  2. 在客户端中安装TortoiseSvn的Jira插件.可以从此链接
  1. Install svn plugin for jira on your jira server. use this link for more info.
  2. Install the Jira plug-in for TortoiseSvn in your clients. It can be downloaded from this link or this one.
  3. For all the folders in your repository, set the flowing properties:

将Jira设置添加到您的TortoiseSvn.为此,请按照以下步骤操作:

Add Jira setting to your TortoiseSvn. To do this follow the steps below:

  • 右键单击代码文件夹,然后从TortoiseSvn菜单中选择设置项.
  • 在挂钩脚本下,单击问题跟踪集成.
  • 单击添加按钮.
  • 在工作副本路径下,输入源代码的路径.
  • 在提供的内容中,选择唯一可用的项目,即CSharpTest.Net.SvnPlugIn.MyPulgIn
  • 在参数下,输入您的Jira服务器的网址,即 http://192.168.10.10:8090
  • 确认对话框后,输入Jira服务器的用户名和密码.
  • 要测试安装是否完成,请尝试提交一组更改.在提交对话框中,您应该看到一个名为Jira Issues的按钮.通过选择它,您应该在新对话框中看到您的Jira问题.
  • Right click on your code folder and from the TortoiseSvn menu, select settings item.
  • Under hook scripts click on issue tracking integration.
  • Click the Add button.
  • Under the working copy path, enter the path of your source code.
  • Under the provided select the only available item namely CSharpTest.Net.SvnPlugIn.MyPulgIn
  • Under the parameters, enter the url of your Jira server, i.e. http://192.168.10.10:8090.
  • After confirming the dialog, enter the username and password of your Jira server.
  • To test whether the installation is complete, try to commit a set of changes. In the commit dialog, you should see a button namely Jira Issues. By selecting it, you should see your Jira issues within a new dialog.