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

Add support for multi-branch pipeline builds

    Details

    • Similar Issues:

      Description

      Multi-branch pipeline builds need to be able to send notifications from the pipeline script. For example, see slackSend on a configured multi-branch pipeline build.

        Attachments

          Issue Links

            Activity

            Hide
            srhebbar Srivardhan Hebbar added a comment -

            office365ConnectorSend command can be used to send notifications from inside pipeline script. The support has been added to the plugin in the revision 2.0. The same has been updated in the wiki.

            Show
            srhebbar Srivardhan Hebbar added a comment - office365ConnectorSend command can be used to send notifications from inside pipeline script. The support has been added to the plugin in the revision 2.0. The same has been updated in the wiki.
            Hide
            vkorytov Vasily Korytov added a comment -

            maybe I don't get something. The problem is I don't see o365 configuration in a multi-branch pipeline. I have v2.0 of the plugin.

            In the docs I read: `office365ConnctorSend message: "<Your message>"` – but how do I configure the notification URL in this case?

            Show
            vkorytov Vasily Korytov added a comment - maybe I don't get something. The problem is I don't see o365 configuration in a multi-branch pipeline. I have v2.0 of the plugin. In the docs I read: `office365ConnctorSend message: "<Your message>"` – but how do I configure the notification URL in this case?
            Hide
            srhebbar Srivardhan Hebbar added a comment -

            Vasily Korytov The notification URL would be picked from the one configured in the plugin. Kindly follow the steps mentioned in the below link:
            https://wiki.jenkins-ci.org/display/JENKINS/Office+365+Connector+Plugin

            When you go in the configuration page of the project, you will see Office 365 Connector tab, click on that and configure the webhook url and select the events for which you want to receive notifications. This same URL would be picked to send the messages when you use "office365ConnectorSend" command from inside pipeline script to send messages.

            Show
            srhebbar Srivardhan Hebbar added a comment - Vasily Korytov The notification URL would be picked from the one configured in the plugin. Kindly follow the steps mentioned in the below link: https://wiki.jenkins-ci.org/display/JENKINS/Office+365+Connector+Plugin When you go in the configuration page of the project, you will see Office 365 Connector tab, click on that and configure the webhook url and select the events for which you want to receive notifications. This same URL would be picked to send the messages when you use "office365ConnectorSend" command from inside pipeline script to send messages.
            Hide
            vkorytov Vasily Korytov added a comment -

            Srivardhan Hebbar with multi-branch pipelines there is no such tab at all. with regular pipelines there is.

            Show
            vkorytov Vasily Korytov added a comment - Srivardhan Hebbar with multi-branch pipelines there is no such tab at all. with regular pipelines there is.
            Hide
            srhebbar Srivardhan Hebbar added a comment -

            With release 2.2 version an option webhookUrl has been added to office365ConnectorSend command which can be used to send message to connector.
            Below is the syntax:
            office365ConnectorSend message:'<Your message>', webhookUrl:'<The connector webhook url>'

            Show
            srhebbar Srivardhan Hebbar added a comment - With release 2.2 version an option webhookUrl has been added to office365ConnectorSend command which can be used to send message to connector. Below is the syntax: office365ConnectorSend message:'<Your message>', webhookUrl:'<The connector webhook url>'
            Hide
            henryborchers Henry Borchers added a comment -

            I can't seem to access office 365 tab in my multi-branch pipelines.

            Show
            henryborchers Henry Borchers added a comment - I can't seem to access office 365 tab in my multi-branch pipelines.

              People

              • Assignee:
                srhebbar Srivardhan Hebbar
                Reporter:
                bhunt Bryan Hunt
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: