jenkinsci / hipchat-plugin

HipChat notification plugin for Jenkins
https://plugins.jenkins.io/hipchat/
54 stars 85 forks source link

Use global setting on pipeline build #119

Closed karl0ss closed 6 years ago

karl0ss commented 6 years ago

Our jenkins box is built via build scripts, building all config and all of the pipes, I have setup the plugin at the global level via scripts and all is working there, but I can't work out how to get the pipelines to inhert the global config as per this comment -

Default notifications: Configure the default set of notifications. These will be used when there is no notification configured at the job level. Note that the default notifications are only sent if the HipChat Notifications Post Build Action is added to the job (otherwise the plugin won't get invoked).

Can anyone give me an idea on how I can create the HipChat Notifications Post Build Action via pipeline build script?

Thanks