Dependencies Build Trigger implementation

Hi,

We have a plugin that connect to one of our application and allow the our application to automatically create new project and configuration in Teamcity.
I would like to create BuildDependencyTrigger. I have found the following class :

jetbrains.buildServer.buildTriggers.BuildTrigger;
jetbrains.buildServer.buildTriggers.BuildTriggerFactoryRegistry;
jetbrains.buildServer.buildTriggers.dependency.BuildDependencyTrigger;
jetbrains.buildServer.buildTriggers.dependency.BuildDependencyTriggerFactory;



But i'm not sure how to use them and they are not in the open api description.

Is there a place where i could get information about how i can create and add BuildDependencyTrigger to a configuration without the web interface.

Thanks!
2 comments
Comment actions Permalink

This API is currently immature and will be changed soon or even removed.

I suggest you to depelop your custom solution which would simply invoke SBuildType.addToQueue() on certain conditions. In this case you can store your configuration in a separate file.

0
Comment actions Permalink

Ok i will try to create my custom solution.

0

Please sign in to leave a comment.