This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
3 Replies Last post: Oct 18, 2011 7:52 PM by Pavel Sher  
Maarten Coene Newbie 9 posts since
Jan 21, 2008
Currently Being Moderated

Sep 21, 2009 11:41 AM

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

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Nov 6, 2009 5:35 PM in response to: Maarten Coene
Re: Adding custom build trigger

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.

Jason Perry Novice 198 posts since
May 29, 2009
Currently Being Moderated
Sep 28, 2011 7:05 PM in response to: Pavel Sher
Re: Adding custom build trigger

Hi Pavel,

 

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

 

Thanks,

Jay

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Oct 18, 2011 7:52 PM in response to: Jason Perry
Re: Adding custom build trigger

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

More Like This

  • Retrieving data ...