Adding custom build trigger

Hi,

I want to add a custom build trigger to my build configurations (something similar to the maven build trigger which has been added to TeamCity 5.0, but it uses Ivy instead).

I guess I have to implement the jetbrains.buildServer.buildTriggers.BuildTrigger for this, but how can I extend the UI so that a new "build-trigger-tab" is displayed when configuring this ivy-build-trigger for my build configuration?

regards,
Maarten

3 comments
Comment actions Permalink

Sorry for delay, just found you question. The problem with BuildTrigger interface is that most likely it will be dropped after the TeamCity 5.0. If you want to implement custom trigger I would recommend to write a service which will trigger build manually and will be configured via property file.

We plan to improve triggers customization after the TeamCity 5.0 release.

0
Comment actions Permalink

Hi Pavel,

Has this been dropped?  What should we use know if we want to implement a custom build trigger?

Thanks,
Jay

0
Comment actions Permalink

You should use jetbrains.buildServer.buildTriggers.BuildTriggerService class, see more in our documentation: http://confluence.jetbrains.net/display/TCD65/Custom+Build+Trigger

0

Please sign in to leave a comment.