-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poll: tcWebHooks : what to support in the future #60
Comments
Hey,
In my opinion, I'd drop support for TC9 if there is substantial features available in TC10 so that the plugin is able to advance and be better rather than limiting it. -M |
Thanks @mrinc for taking the time to reply. I set the lofty goal of writing a REST API and using that from the UI for managing the new templates and webhook config. However, in TC10, one can now store project config in a way that can be managed by the existing REST API, somewhat negating the requirement for mine. Based on all the feedback so far ;-) , I will abandon the API, and focus on getting templates editable in the UI and then releasing a stable release. Then I will work on transitioning to the new TC 10 config storage model (and providing the kotlin DSL for editing it). Thanks for making me aware of MatterMost. That should be possible to support already (certainly in the 1.1 alphas). I'll take a look into it. |
Hello,
TC 10+ support is all we need going forward. |
To me, it would make sence to support the last 2 majors of TeamCity. Especially with their shitty licensing model. We can't upgrade as we would lose agent licenses. |
Thanks @nap and @ogerovich for your feedback. I very much appreciate you taking the time to post a comment. @nap, could you possibly attach some of your plugin-settings.xml files to this issue or email them to me? Please remove any sensitive data from them first :-) I'd like to see what settings you have had to manually edit, and make sure my future plans include a way to edit them in the UI. Also, can you think of anything specific in the UI that you find buggy? Feel free to raise an issue for any bugs. |
Reading my previous post here. I see that I might have come off a little bit strong. Sorry about that, I think you're doing a great job. No offence was intended. Here's the payload I send to Slack that is read from
Here are some screenshot of the UI Here the title seems to be missing padding or margin: Here you can see that the list of build configuration is overflowing the size of the container. |
@nap That's fine. No offense taken. Thanks for the words of encouragement. I plan to implement a "variable builder" in the UI. Which allows one to build variables either at the project scope or webhook scope. For the Legacy payloads they will just appear in the payload as parameters. For the new templates in 1.1.x, they will be able to be referred to in a template. Thanks for pointing out the overflow bug. I was not aware of that. I think I've fixed the dialog title padding in 1.1. However that code needs to be updated as it was from TeamCity 6 era. I've noticed that ESC does not close the dialog, and one can't drag it around. |
Are you planning on dropping support for TeamCity 9 for version 1.1? |
No. Probably |
|
Sure, it's not that different from the slack one anyway and Microsoft has a decent API documentation for customization: https://dev.outlook.com/Connectors/Reference |
That's cool. I just have no way to test it, so whatever you have will be much better than anything I dream up. |
|
It's been a little while since I've touched them, but I believe I ended up having to ts on to each TC server and find the correct folder to drop (and iterate on) the templates, and having separate scripts to format the template in a way Slack was happy with (escaping characters and dealing with whitespace). So cumbersome to edit, both the actual files and massaging the format to suit the integration. |
Thanks @nbergen That's useful feedback. There will also be a preview screen from which one can see the template rendered from the contents of a recent build, and (hopefully) able to trigger the webhook for testing, rather than having to run a build. However, based on your feedback, it would be useful to be able to export/import the raw config somehow, for when one maintains multiple TeamCity instances. |
Version 1.1 has finally been released! |
Hi!
|
Thanks for your feedback @mcctomsk Pete's code (which was actually forked from mine originally) does some extra magic to map teamcity users to slack ids. I've not looked at it recently, so am unsure if that logic could be implemented in Velocity or not. |
I am trying to determine how much effort I should invest in supporting older versions of TeamCity, and where to focus future development.
There are some new features if TeamCity 10 which I would like to migrate to, and I am wondering how many tcWebHooks users would be affected by discontinuing support for versions 9.x and below.
Also, how tcWebHooks is being used, and what payload formats are popular
Could you please add a comment to this issue indicating the following:
Thanks, Net Wolf.
The text was updated successfully, but these errors were encountered: