Comments (6)
Yep, I can reproduce this, the last version I tested on was 2.0.3. In 2.1.1 it looks like the context variables map is missing from the execution data that is passed to the plugin. I'm not sure if this was an intentional change or not, but the documentation for 2.1.1 suggests the context variables map should be there, which suggests this is a rundeck bug. I'll raise an issue against the rundeck project and see what they say.
I'm intending on releasing a new version of the plugin in the next few days which will allow you to specify a FreeMarker template to use for generating the HipChat message, overriding the internal template that is used to generate the message currently. So if you don't need to display any of the context variables, then this feature would allow you to work around the issue by specifying a custom template without the invalid model references.
from rundeck-hipchat-plugin.
any news on this? :)
from rundeck-hipchat-plugin.
sorry, i think there was a regression in 2.1.x. I haven't had a chance to look into it.
from rundeck-hipchat-plugin.
Cool, just adding a reference to the rundeck issue for the missing context variables: rundeck/rundeck#764
I've just released a new version of the plugin (1.2.0 - release notes) which allows for a custom template to be specified. Can't yet see this on maven central, but it should be synced out in the next hour or so. As I mentioned above, using a custom template without any references to context variables would workaround this issue for now.
from rundeck-hipchat-plugin.
Patch available here rundeck/rundeck#778
from rundeck-hipchat-plugin.
Patch released in rundeck 2.1.2
from rundeck-hipchat-plugin.
Related Issues (13)
- Seeing weird error in logs HOT 9
- Room notification HOT 1
- Configure Room AuthToken at Instance Level HOT 6
- Any Error in the Notification will abort the job HOT 1
- This plugin requiere IPv4. HOT 8
- Hipchat plugin does not work HOT 2
- Unknown or unsupported HipChat API version: [v2 ] HOT 2
- HipChat Server HOT 4
- Add support for HipChat REST API version 2 HOT 2
- Add proxy support HOT 4
- Hipchat SSL API V2 broken HOT 1
- Rundeck fails to connect to hipchat HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rundeck-hipchat-plugin.