This plugin sends a websocket message when the build
- Is about to start (phase=STARTED)
- In post build (phase=COMPLETED)
All fields support the usage of variables.
Data is sent as websocket text in json format. It is a subset of the Notification plugin and looks as follow:
{
"name": "asgard",
"url": "job/asgard/",
"build": {
"full_url": "http://localhost:8080/job/asgard/18/",
"number": 18,
"phase": "COMPLETED",
"status": "SUCCESS",
"url": "job/asgard/18/",
}
}
Note: For phase="STARTED" the build status of the previous build is given (if available)