TeamCity plugin UrlTrigger keeps firing
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.
We are using TeamCity 6.5.4 (build 18046)
Please sign in to leave a comment.
Hi Anton
This is an authentication issue. This URL works fine in a browser when your session is stored in cookies, but does not enough for the trigger.
You need to use laternate URL like <TEAMCITY URL>/guestAuth/repository/downloadAll/bt79/.lastPinned or <TEAMCITY URL>/httpAuth/repository/downloadAll/bt79/.lastPinned depending of your server settings.
Please find details in Obtaining Artifacts from a Build Script article.
The url itself is working and gives me the artifacts. I will try your suggestions and get back on it.
I have tried to use the first url you gave me. Also made sure guest login is enabled. The build however still gets triggered every minute. The url itself is working and is giving me the zip file when I try it manually. Am I missing a setting here?
This week we upgraded to Teamcity 7.1
Tried the suggestions you gave me. However the build configuration still keeps firing.
Any tip/help would be appreciated very much.
For those looking for the answer: http://youtrack.jetbrains.com/issue/TW-24355