This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      Hello, I looked through the README.md file and doesn't look like you guys provided any insight on if and how you can send variables as a response body. For my use case, I want to send the project and build number to Mattermost. There is a Mattermost plugin already, but it seems as though I keep coming up to a "Failure" error and it's not very helpful because that's all it sends back.

      I looked into using HTTP request plugin and that actually does seem to be sending notifications to my Mattermost channel. The issue is I don't know if the HTTP request plugin supports passing in variables from either Jenkins or environment variables.

      I want to send a notification to my Mattermost channel using something like this.

       

      Build Successful: ${env.JOB_NAME} - Build #${env.BUILD_NUMBER}

      Or

      Build Failed: ${env.JOB_NAME} - Build #${env.BUILD_NUMBER} 

       

            Assignee:
            Janario Oliveira
            Reporter:
            Test
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: