TeamCity plugin UrlTrigger keeps firing

六月ゝ 毕业季﹏ 提交于 2019-12-24 13:37:24

问题


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

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

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.

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


回答1:


The answer to this question came from TeamCity support:

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.

this one worked for me.



来源:https://stackoverflow.com/questions/12295688/teamcity-plugin-urltrigger-keeps-firing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!