如何从Jenkins中配置的两个存储库获取更改日志 [英] How to get change logs from two repositories configured in Jenkins

查看:973
本文介绍了如何从Jenkins中配置的两个存储库获取更改日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目使用两个存储库。我已配置Jenkins使用两个repo

My project uses two repositories. I've configured Jenkins to use two repo

然而,Jenkins只是一个repo的日志更改。任何想法如何可以设置从两个repo的更改。我尝试了多个SCM,但是观察到相同的行为。

However, Jenkins is only log changes from one repo. Any idea how can I setup to take changes from both the repo's. I tried Multiple SCM as well however observed the same behaviour.

推荐答案

使用高级按钮插入名称 RefSpec+ refs / heads / :refs / remotes / origin /
所以这对我有用。

use the "Advanced" Button an insert name "origin" and RefSpec "+refs/heads/:refs/remotes/origin/" so thats works for me.

这篇关于如何从Jenkins中配置的两个存储库获取更改日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆