哈德森工作可以轮询一个SCM,而不拉下代码? [英] Can a Hudson job poll a SCM without pulling code down?

查看:227
本文介绍了哈德森工作可以轮询一个SCM,而不拉下代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个工作,我想运行每次提交到存储库。我想避免拉这段代码,我只想通知建立触发器。所以,有没有一种方法不能在你的SCM中删除某些存储库,在一个构建或一种方式来轮询不是在SCM的一个构建的东西?

I have a job that I want to run every time a commit is made to a repository. I want to avoid pulling this code down, I only want the notification build trigger. So, is there either a way to not pull down certain repositories in your SCM upon a build or a way to poll things that aren't in the SCM for a build?

推荐答案

您可以使用 post commit hook 来触发你的hudson工作。

you could use a post commit hook to trigger your hudson job.

这篇关于哈德森工作可以轮询一个SCM,而不拉下代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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