是否可以在不克隆的情况下从 mercurial 存储库触发构建?

Is it possible to trigger a build from a mercurial repository without cloning it?

我希望通过更改 mercurial 存储库(使用 ssh 地址)来触发我的作业,但我不希望该作业尝试克隆该存储库。

有什么办法吗?

有一个插件可以帮助您解决这个问题,请在 Jenkins 上查看,https://wiki.jenkins-ci.org/display/JENKINS/FSTrigger+Plugin。不久前我在 Hudson 上也取得了同样的成绩。

我建议使用 post-commit hook that calls the proper Jenkins API