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 ]
          Hide
          eddyhub Eduard Angold added a comment -

          I added support for the Mattermost Plugin, but didn't test it thoroughly. Would be nice to get some feedback if everything is working as expected.

          https://github.com/jenkinsci/job-dsl-plugin/pull/738

          Show
          eddyhub Eduard Angold added a comment - I added support for the Mattermost Plugin, but didn't test it thoroughly. Would be nice to get some feedback if everything is working as expected. https://github.com/jenkinsci/job-dsl-plugin/pull/738
          eddyhub Eduard Angold made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: eddyhub
          Path:
          docs/Home.md
          job-dsl-core/src/main/docs/examples/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext/mattermost.groovy
          job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/MattermostPublisherContext.groovy
          job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy
          job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContextSpec.groovy
          http://jenkins-ci.org/commit/job-dsl-plugin/3ed3ec704caa70117734ad8a9cecce6108da026d
          Log:
          Added support for Mattermost Plugin: https://issues.jenkins-ci.org/browse/JENKINS-32764

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: eddyhub Path: docs/Home.md job-dsl-core/src/main/docs/examples/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext/mattermost.groovy job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/MattermostPublisherContext.groovy job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContextSpec.groovy http://jenkins-ci.org/commit/job-dsl-plugin/3ed3ec704caa70117734ad8a9cecce6108da026d Log: Added support for Mattermost Plugin: https://issues.jenkins-ci.org/browse/JENKINS-32764
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Daniel Spilker
          Path:
          docs/Home.md
          job-dsl-core/src/main/docs/examples/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext/mattermost.groovy
          job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/MattermostPublisherContext.groovy
          job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy
          job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContextSpec.groovy
          http://jenkins-ci.org/commit/job-dsl-plugin/3f659bedfb5e036ad510d3b5c7e14fcfae27d3be
          Log:
          Merge remote-tracking branch 'eddyhub/JENKINS-32764'

          Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/3f647d3f46db...3f659bedfb5e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Spilker Path: docs/Home.md job-dsl-core/src/main/docs/examples/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext/mattermost.groovy job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/MattermostPublisherContext.groovy job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContextSpec.groovy http://jenkins-ci.org/commit/job-dsl-plugin/3f659bedfb5e036ad510d3b5c7e14fcfae27d3be Log: Merge remote-tracking branch 'eddyhub/ JENKINS-32764 ' Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/3f647d3f46db...3f659bedfb5e
          Hide
          daspilker Daniel Spilker added a comment -

          Will be released in 1.44.

          Show
          daspilker Daniel Spilker added a comment - Will be released in 1.44.
          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: