Git关联JIRA的issue

指导文章
http://www.51testing.com/html/30/n-3724930.html
http://gitlab.fastbank.net/help/user/project/integrations/jira

触发器的关键字

这里以 SIT 环境作为指导说明

开发修复问题后,执行 git 的代码提交

$ git add .
$ git commit -m 'close RD-46'
$ git push origin dev-1.0.0.0:sit

完成第3步骤时,对应的 bug 单 RD-46 就会有相应的 git commit 链接,可以跳过去查看修改的内容了

同理,如果将 SIT 代码合并到 UAT,只需要在 comment 处使用关键字,也能达到 UAT 的代码提交效果

猜你喜欢

转载自www.cnblogs.com/hailongchen/p/9004565.html