Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40321

Job notification settings not respected in multibranch pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • hipchat-plugin
    • None
    • Jenkins 2.19.3 (no slave nodes)
      Hipchat Plugin 2.0.0
      Windows 7

      I have created a multibranch pipeline job and configured global HipChat notification settings to send a message on build failure. No messages are being sent when these jobs fail.

      I also tried to set the hipchat notification in the Jenkinsfile using HipChatJobProperty, which failed to work as well.

      properties([[
              $class: 'HipChatJobProperty',
              notifyFailure: true,
              notifyBackToNormal: true,
          ]])
      

      Using hipchatSend() does work, and appears to use the globally configured credentials and room values.

            aldaris aldaris
            james_emerton James Emerton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: