如何在jenkins中只修改svn文件 [英] how to build just svn changed files in jenkins

查看:880
本文介绍了如何在jenkins中只修改svn文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Subversion和Jenkins来设置CI实践,但是我有一些问题:
- 我如何看到jenkins平台中的subversion更改,并在更改和构建之间选择我同意
- 我使用发布通过FTP插件与jenkins和我发送文件通过FTP后构建,但所有的文件,发送,我怎么发送刚刚更改的文件(添加,编辑,删除更改的文件)??

I have installed Subversion and Jenkins to set a CI practice but I have some issues : - How can I see the subversion changes in jenkins platform and have the choice between changes and build just what I agree with - I use "Publish Over FTP" plugin with jenkins and I send files by FTP after builds, but all the files are sent, how can I send just changed files (add, edit, delete changed ones)??

推荐答案

这里有两个问题。


如何查看jenkins平台中的subversion更改,并在
之间选择更改和构建我同意的内容

How can I see the subversion changes in jenkins platform and have the choice between changes and build just what I agree with

您使用标记。标记可帮助您获取特定版本,而无需使用修订版本号。作为一个经验法则,每个提供测试的版本都应该有一个标签。有些人会对每个版本这个术语不同意。至少需要标记版本。当你遵循这个理念,你可以使用'list subversion参数'列出所有可用的标签,你可以选择你喜欢建立的标签。

You use tagging for this. Tagging helps you to get a specific version without needing to use revision numbers. As a rule of thumb every version that is given out for testing should have a tag. Some will disagree on the term 'every version'. At least releases need to be tagged. When you follow this philosophy you can use the 'list subversion parameter' to list all the available tags and you can choose the one you like to build.


我使用通过FTP发布插件与jenkins和我发送文件通过FTP
构建后,但所有的文件,发送,我怎么发送刚刚更改
文件(添加,编辑,删除

I use "Publish Over FTP" plugin with jenkins and I send files by FTP after builds, but all the files are sent, how can I send just changed files (add, edit, delete changed ones)??

检查文档,在高级传输集设置中,它显示如何使用文件掩码定义要传输的文件。它还包含一个排除选项,您可以使用它来消除某些文件。

Checked the documentation and in the advanced transfer sets settings it shows how to use file masks to define the files to be transferred. It also contains an exclusion option that you can use to eliminate certain files.

免责声明:我大量使用list subversion参数(它与subversion插件)快乐。我不使用通过FTP插件发布,但扫描了文档。

DISCLAIMER: I heavily use the list subversion parameter (which comes with the subversion plugin) and i am happy with it. I don't use the "Publish over FTP plugin" but scanned over the documentation.

这篇关于如何在jenkins中只修改svn文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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