netwolfuk
netwolfuk
I suspect the payload is not valid JSON. You could try a function called `#to_json($var)` or something similar. I'm not in front of a computer at the moment so can't...
Sorry it's `escapejson` not `to_json`
Oh. It looks like the template is configured as `jsonTemplate`, rather than `jsonVelocityTemplate`. Can you try editing the template settings (little menu at the top right corner) and setting it...
You're welcome. Thanks for the feedback. I'm not sure if you will need to escape the values as JSON. It seems to work ok for me although I've done very...
This process has highlighted two things for me. 1. There should be a way to "include" code in a template. Currently that macro needs to be added to the top...
This is available for testing in the [v1.2.0-alpha.3](https://github.com/tcplugins/tcWebHooks/releases/tag/v1.2.0-alpha.3) release.
Hi @Nachiket26 The support for velocity templates is only available from the 1.2.0 versions (currently in alpha, but still very stable). However, I'm not testing against version 9 of TeamCity...
Hi @Nachiket26 I just downloaded and installed TeamCity 9.1.7 (couldn't find a docker image for 9.1.1) and tcWebHooks 1.2.0 alpha 4 works quite well. I have found one minor bug,...
oops, sorry. I am testing on tcWebHooks 1.2.0 alpha 5. You'll need to use alpha5, since it fixes a bug for versions of teamcity < 2018.1.5