TeamCity插件UrlTrigger不断触发 [英] TeamCity plugin UrlTrigger keeps firing

查看:128
本文介绍了TeamCity插件UrlTrigger不断触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了触发器以侦听最后固定的构建工件:

I have setup the trigger to listen to the last pinned build artifacts:

<TEAMCITY URL>/repository/downloadAll/bt79/.lastPinned

但是,触发器会每30秒触发一次,这是默认的轮询间隔.

However, the trigger keeps firing every 30 seconds which is the default Polling interval.

我在这里错过了什么吗?网址总是给我相同的文件.

Am I missing something here? The url always gives me the same file.

更新: 升级到TeamCity 7.1后,问题仍然存在.

UPDATE: After upgrading to TeamCity 7.1 the problem still exists.

推荐答案

此问题的答案来自TeamCity支持:

The answer to this question came from TeamCity support:

所描述行为的原因是TeamCity控制器的方式 返回在downloadAll查询中请求的数据.包含 每个请求上的工件实际上是不同的,构建是 触发. 要解决此问题,请尝试使用

The reason of the described behaviour is the way TeamCity controller returns data requested in downloadAll query. The .zip containing the artifacts is actually different on each request and build is triggered. To workaround this issue try using

<TEAMCITY URL>/guestAuth/repository/download/bt79/.lastPinned/<some artifact> if possible.

这个对我有用.

这篇关于TeamCity插件UrlTrigger不断触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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