amaters
amaters

Reputation: 2316

Is it possible to run a script when a build is pinned in Teamcity

In Teamcity it is possible to pin builds. Does anybody know if it is possible at all to have "Pin Actions"?

I have tried to find information about it in the JetBrains TeamCity documentation but until now not able to come up with a solution.

The underlying problem is that we want to tag our SVN repository only for pinned builds, not just for succesful builds.

I'm using TeamCity 6.5.

Upvotes: 2

Views: 947

Answers (2)

Rigeborod
Rigeborod

Reputation: 366

Actually as this topic is first on Google search...

This functionality is already present: Add trigger -> Schedule trigger -> Show advanced options -> Trigger only if watched build changes -> Last pinned build

As you can configure scheduled build to check it every minute or even more often that will work exactly as intended.

Hope this will help.

Upvotes: 4

Fedor Gogolev
Fedor Gogolev

Reputation: 10541

There is an issue for pin build trigger, but it's not already resolved. JetBrains offers to use URL trigger plugin, but it may be difficult if there is no guests support in your teamcity.

Also your can write custom build trigger, it would be very useful.

Upvotes: 2

Related Questions