如何在Hudson/Jenkins中构建SVN的特定修订版 [英] How to build a specific revision of SVN in Hudson/Jenkins

查看:93
本文介绍了如何在Hudson/Jenkins中构建SVN的特定修订版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

背景:

我们使用 NAnt 作为构建工具.

We use NAnt as our building tool.

问题:

我如何告诉Hudson在 SVN 中建立特定的修订版本,而不是默认的最新版本?

How can I tell Hudson to build a specific revision in SVN, instead of the latest one by default?

谢谢.

推荐答案

您配置svn位置,包括修订号

You configure the svn location including the revision number

<SVN_URL>@revision

您可以在哈德森作业中使用参数,而不必在其中输入硬编码的修订号

Instead of putting the revision number hard coded in there you can use a parameter for the hudson job

<SVN_URL>@$param

这篇关于如何在Hudson/Jenkins中构建SVN的特定修订版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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