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

Add support for mattermost plugin

    Details

    • Similar Issues:

      Description

      Plugin: https://github.com/jenkinsci/mattermost-plugin

      <jenkins.plugins.mattermost.MattermostNotifier plugin="mattermost@1.4.0">
            <endpoint>https://mattermost.my-company.de/hooks/um9hcztr1jfnzgph6397pcoeur</endpoint>
            <buildServerUrl>http://jenkins.my-company.de/</buildServerUrl>
            <room>Team XYZ</room>
            <icon></icon>
            <startNotification>false</startNotification>
            <notifySuccess>false</notifySuccess>
            <notifyAborted>false</notifyAborted>
            <notifyNotBuilt>false</notifyNotBuilt>
            <notifyUnstable>false</notifyUnstable>
            <notifyFailure>true</notifyFailure>
            <notifyBackToNormal>true</notifyBackToNormal>
            <notifyRepeatedFailure>true</notifyRepeatedFailure>
            <includeTestSummary>true</includeTestSummary>
            <showCommitList>false</showCommitList>
            <includeCustomMessage>false</includeCustomMessage>
            <customMessage></customMessage>
          </jenkins.plugins.mattermost.MattermostNotifier>
      

      Currrently I use this workaround using configure:

      configure { node ->	
      	    node / publishers / 'jenkins.plugins.mattermost.MattermostNotifier'(plugin:'mattermost@1.4.0') {
      	      endpoint 'https://mattermost.my-company.de/hooks/um9hcztr1jfnzgph6397pcoeur'
      	      buildServerUrl 'http://jenkins.my-company.de/'
      	      room 'Team XYZ'
      	      icon 'http://jenkins.my-company.de/static/3d886fd0/images/headshot.png'
      	      startNotification 'false'
      	      notifySuccess 'false'
                    notifyAborted 'false'
                    notifyNotBuilt 'false'
                    notifyUnstable 'true'              
      	      notifyFailure 'true'    
      	      notifyBackToNormal 'true'    
      	      notifyRepeatedFailure 'true'    
      	      includeTestSummary 'true'
      	      showCommitList 'false'
      	      includeCustomMessage 'false'
      	     customMessage ''		  
      	    }	    
        }
      

        Attachments

          Activity

          dyrssen Kai Dyrssen created issue -
          eddyhub Eduard Angold made changes -
          Field Original Value New Value
          Assignee Daniel Spilker [ daspilker ] Eduard Angold [ eddyhub ]
          eddyhub Eduard Angold made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          daspilker Daniel Spilker made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          daspilker Daniel Spilker made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 168428 ] JNJira + In-Review [ 209670 ]

            People

            • Assignee:
              eddyhub Eduard Angold
              Reporter:
              dyrssen Kai Dyrssen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: