Class HttpWorker

java.lang.Object
jenkins.plugins.office365connector.HttpWorker
All Implemented Interfaces:
Runnable

public class HttpWorker extends Object implements Runnable
Makes http post requests in a separate thread. curl -X POST -H "Content-Type: application/json" -d "@completed-success.json" "https://webhook.office.com/webhookb2..." -vs
  • Constructor Details

  • Method Details

    • submit

      public void submit()
      Sends the notification to the hook.
    • run

      public void run()
      Specified by:
      run in interface Runnable