参数化哈德森可以建立重写SVN版本? [英] Can a Parameterized Hudson Build Override the svn revision?

查看:136
本文介绍了参数化哈德森可以建立重写SVN版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从安装特定修订重建的能力。默认是头部和用户可以重建一个老版本(已被删除)。我还是想利用所有有关Hudson的报告SVN等。

I'd like to setup the ability to rebuild from a specific revision. The default would be HEAD and a user could rebuild an old build (that had been removed). I'd still like to leverage all of hudson's reporting regarding SVN etc.

有没有做到这一点的好办法?

Is there a good way to do this?

推荐答案

我会尝试。不幸的是我没有来验证我的做法的时间。

What I would try. Unfortunately I don't have the time to verify my approach.

有一个快速的方法是使用一个参数,如果你想要去头留空白。检查出的旧版本,输入@加上版本号作为参数的值。

A quick way would be to use an parameter and leave a blank if you want to go to head. To check out an older revision, enter "@" plus the revision number as the value for the parameter.

您不仅仅需要将参数添加到URL为您颠覆结帐。我不知道正确的语法。我怀疑它是像 $ {PARAMETER_NAME}

You than just need to add the parameter to the URL for your subversion checkout. I am not sure about the correct syntax. I suspect it is something like ${Parameter_Name}.

让我们知道这是否正常工作。

Let us know if this works.

这篇关于参数化哈德森可以建立重写SVN版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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