首先申明:有错误的地方还请指出,谢谢!
1,去这个地方下载
https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugin.ext.subversion
必要的subversion文件啦,注意看需要支持你的jira版本啊
我下载的是atlassian-jira-subversion-plugin-0.10.11.1.zip
最新的版本啦!
2,利用ftp上传到/root目录
- [root@boil ~]#unzip atlassian-jira-subversion-plugin-0.10.11.1.zip
- [root@boil ~]#cd atlassian-jira-subversion-plugin-0.10.11.1
- [root@boil atlassian-jira-subversion-plugin-0.10.11.1]#ll
- drwxr-xr-x. 2 root root 4096 10月 24 12:23 lib
- -rwxrwxrwx. 1 root root 9456 10月 24 12:23 pom.xml
- -rwxrwxrwx. 1 root root 2862 11月 20 10:47 README.txt
- -rwxrwxrwx. 1 root root 7540 11月 20 09:22 subversion-jira-plugin.properties
- -rwxrwxrwx. 1 root root 2647 10月 24 12:22 TMATE-LICENSE
- -rwxrwxrwx. 1 root root 4699 10月 24 12:22 TRILEAD-LICENSE
- [root@boil atlassian-jira-subversion-plugin-0.10.11.1]#chown -R jira.jira lib
- [root@boil atlassian-jira-subversion-plugin-0.10.11.1]#chown -R jira.jira subversion-jira-plugin.properties
- [root@boil atlassian-jira-subversion-plugin-0.10.11.1]#cp lib/* /home/jira/atlassian/jira/atlassian-jira/WEB-INF/lib
- [root@boil atlassian-jira-subversion-plugin-0.10.11.1]#cp subversion-jira-plugin.properties /home/jira/atlassian/jira/atlassian-jira/WEB-INF/classes
- [root@boil atlassian-jira-subversion-plugin-0.10.11.1]#vim /home/jira/atlassian/jira/atlassian-jira/WEB-INF/classes/subversion-jira-plugin.properties
修改svn.root,svn.display.name,svn.username,svn.password
- [root@boil atlassian-jira-subversion-plugin-0.10.11.1]# cd /home/jira/atlassian/jira/bin/
- [root@boil bin]#sh shutdown.sh
- [root@boil bin]#sh startup.sh
在WEB页面当中来修改
进入jira主页,进入subversion repositorise模块来修改就好了,