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

Override `Status` in report with `office365ConnectorSend` command

XMLWordPrintable

      Hi,

      The office365ConnectorSend works nicely. But let me describe one common workflow when it's used:

      1. We run some tests
      2. We run office365ConnectorSend to indicate success or failure.

      So, I do like: office365ConnectorSend message:'Tests failed', webhookUrl:webhook

      I get a notification like:
      Update from build tests_fail(2)
      @channel Tests failed
      Status Running
      Start Time 2016-12-20 12:48:51 UTC
      View Build

      I would like an ability to change `status` to indicate `Build Success' or `FAILURE' in case the notification is actually the last action in script (and there's no point indicating it's `running`). I think, it would highly improve the readability of notifications.

            srhebbar Srivardhan Hebbar
            vkorytov Vasily Korytov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: