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

Job builder for hipchat plugin is out of date

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Jenkins: 2.46.2v
      HipChat Plugin: 2.1.1

      The hipchat jenkins job builder is out of date and causes "Notify room" check box unchecked when used with job builder for success notifications. However, the xml content generated by the job builder is deprecated by HipChat plugin.
      E.g.
      Jenkins job builder for hipchat generates the following xml:

      <jenkins.plugins.hipchat.HipChatNotifier>
      <token/>
      <room>Filesystem Notifications</room>
      <startNotification>false</startNotification>
      <notifySuccess>true</notifySuccess>
      <notifyAborted>false</notifyAborted>
      <notifyNotBuilt>false</notifyNotBuilt>
      <notifyUnstable>false</notifyUnstable>
      <notifyFailure>false</notifyFailure>
      <notifyBackToNormal>false</notifyBackToNormal>
      <completeJobMessage>$JOB_NAME #$BUILD_NUMBER $STATUS after $BUILD_DURATION</completeJobMessage>
      </jenkins.plugins.hipchat.HipChatNotifier>

      The actual ones looks like this:

      <jenkins.plugins.hipchat.HipChatNotifier plugin="hipchat@2.1.1">
      <credentialId></credentialId>
      <room>Filesystem Notifications</room>
      <notifications>
      <jenkins.plugins.hipchat.model.NotificationConfig>
      <notifyEnabled>true</notifyEnabled>
      <textFormat>false</textFormat>
      <notificationType>SUCCESS</notificationType>
      <color>GREEN</color>
      <messageTemplate></messageTemplate>
      </jenkins.plugins.hipchat.model.NotificationConfig>
      </notifications>
      <startJobMessage></startJobMessage>
      <completeJobMessage>$JOB_NAME #$BUILD_NUMBER $STATUS after $BUILD_DURATION</completeJobMessage>
      </jenkins.plugins.hipchat.HipChatNotifier>

      The hipchat plugin has deprecated those xml attributes: https://github.com/jenkinsci/hipchat-plugin/blob/master/src/main/java/jenkins/plugins/hipchat/HipChatNotifier.java

        Attachments

          Activity

            People

            • Assignee:
              maniankara Anoop Maniankara
              Reporter:
              maniankara Anoop Maniankara
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: