TeamCity Pull Request Label Trigger
Hello,
Is there any way to trigger a PR to be built if the pull request gets a specific label or if it is approved by a reviewer? I believe this would be a VCS trigger.
https://youtrack.jetbrains.com/issue/TW-48771#comment=27-2353977
Would it be feasible to write a custom plugin to get this functionality or would I have to wait for JetBrains?
Please sign in to leave a comment.
This forum post might come off as a feature request, however I was mainly wondering if it would seem feasible to write the trigger plugin. I am currently working on this plugin trigger and was wondering if there was any way to extend some of the functionality of the VCS plugin that comes bundled in TeamCity without modifying the VCS plugin itself. Would it be possible to get in contact with a TeamCity developer?
Hi, and sorry for the delay. Our open source code, including some teamcity plugins is on github: https://github.com/jetbrains
This said, many of the plugins aren't there, including the triggers. It should be feasible to do it for you, but unfortunately our triggers cannot be really extended, you would need to set up a new one. If you have any particular issue while doing it feel free to ask about it, we might be able to assist.
Awesome! Thanks for the response. I was hoping that the existing VCS plugin could be extended, as I don't want to request for credentials again to access the repository when it was already provided within the Version Control Settings.
Thanks!