开发者

Hudson projects RSS feed, build parameters

Is there any way to have Hudson include, in the RSS feed for a project set up in Hudson, the name and value of any build parameters used in a build?

Thanks,开发者_运维百科

Tom


Sure but they would need to setup their own namespace. a number of rss feeds have extended past generic RSS by including namespaces. Take a look at Techcrunch's feedburner feed <rss> node.

<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

Here's an element that isn't part of the RSS spec but linked to the feedburner namespace. <feedburner:browserFriendly>

So hudson could create a :hudeson namespace and use a node <hudson:buildparams>.

The problem is that no RSS reader that I know of will parse and display the elements in the hudson namespace. So you would have to pretty much build your own.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜