jira下载起来就可以用,至于授权码网上找一下就可以了,这里不说。 安装好后,从网上下载svn和fisheye插件,按照安装步骤,将jar和properties拷贝到对于位置, 下面主要说一下svn插件的配置 和fisheye 插件的配置。 svn插件需要配置的key: svn.display.name=self 表示svn在jira中显示的名字。 在下面的图片中有箭头位置显示 svn.root=svn://localhost/self 表示svn的url,不需要多说 svn.username=lll 表示svn的用户名 svn.password=123456 表示svn的密码 其他地方不需要配置。 fisheye 插件配置, 首先介绍一下fisheye配置 <?xml version="1.0" encoding="UTF-8"?><config control-bind="127.0.0.1:8079" version="1.0" admin-hash="96E79218965EB72C92A549DD5A330112"> <!-- NOTE: change this to the path to your svn-javavhl.jar" --> <svn-config jar="E:/OpenSource/fisheye/org.tmatesoft.svn_1.1.0.beta4.standalone/javasvn-1.1.0.beta4/javasvn1.jar"/> <web-server> <http bind=":8880"/> </web-server> <api enabled="true"/> <security allow-anon="true"/> <repository-defaults> <linker/> <allow/> <tarball enabled="false" maxFileCount="0"/> <security allow-anon="true"/> <text-indexer enabled="true"/><watches enabled="true"/></repository-defaults> <!-- NOTE: change this for the particulars of your repository --> <repository name="svn" description="Our Subversion Repository" enabled="true"> <!-- change this to the URL to your repository --> <svn url="file:///e:/temp/self" path="/" blocksize="100"> <!-- authentication information for accessing the repository --> <auth username="wsl" password="123456"/> <!-- how frequently FishEye should ping Subversion (which is a quick operation) --> <updater pollPeriod="15s"/> <!-- This tells FishEye how to interpret tags and branches. This example follows the standard /trunk/, /branch/BRANCHNAME/, /tags/TAGNAME/ convention. The commented-out example below that is for the /PROJECT/trunk/, /PROJECT/branches/BRANCHNAME/, /PROJECT/tags/TAGNAME/ convention. --> <symbolic><trunk logical="" name="trunk" regex="trunk(/|$)"/><branch name="${1}" regex="branches/([^/]+)" logical=""/><tag logical="" regex="tags/([^/]+)" name="${1}"/></symbolic> <!-- <symbolic> <trunk regex="([^/]+)/trunk(/|$)" name="trunk" logical="${1}"/> <branch regex="([^/]+)/branches/([^/]+)" name="${1}-${2}" logical="${1}"/> <tag regex="([^/]+)/tags/([^/]+)" name="${1}-${2}" logical="${1}"/> </symbolic> --> </svn> <tarball enabled="true"/><security/><properties><property name="show-changelog-calendar" value="true"/></properties></repository> </config> fisheye配置中,最主要的就是 <repository name="svn" description="Our Subversion Repository" enabled="true"> <!-- change this to the URL to your repository --> <svn url="file:///e:/temp/self" path="/" blocksize="100"> <!-- authentication information for accessing the repository --> <auth username="wsl" password="123456"/> 这几个,里面分别是svn在fisheye里面显示的名字,svn的相关配置,建议,将blocksize设置为100,默认的blocksize=1000,很容易报java heap space 错误。 下面讲jira的fisheye插件配置 配置文件名字如下 fisheye-jira-plugin.properties 其中相关参数 fisheye.replist=svn 其中的svn表示的就是上面的fisheye 中repository中对于的name,我前两天一直配不成功就是这个 fisheye.url=http://localhost:8880 表示进入fisheye的初始地址,也就是进入下面页面的地址 其他属性基本上不需要配。Ok这样就可以使用jira加上fisheye和svn插件了。
一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!
二、互相尊重,对自己的言论和行为负责。