Giter Site home page Giter Site logo

Comments (6)

hbakkum avatar hbakkum commented on July 3, 2024

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.

jippi avatar jippi commented on July 3, 2024

any news on this? :)

from rundeck-hipchat-plugin.

gschueler avatar gschueler commented on July 3, 2024

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.

hbakkum avatar hbakkum commented on July 3, 2024

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.

jippi avatar jippi commented on July 3, 2024

Patch available here rundeck/rundeck#778

from rundeck-hipchat-plugin.

hbakkum avatar hbakkum commented on July 3, 2024

Patch released in rundeck 2.1.2

from rundeck-hipchat-plugin.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.