You can make Jenkins publish messages to spark after or during builds. Here’s how we do this: 1. Get the spark room ID that you want to use:
1 |
curl https://api.ciscospark.com/v1/rooms -X GET -H "Authorization:Bearer SUPERLONGAUGZjg5ZjRhZDAtMDA1NC00OMzRmMjg5NTJiMTUwOTZkZDgtYTY0" | python -m json.tool |
This will give you a list of rooms. From here, you can find the room you want and get the ID of the room: Something like: Y2lzY29zcGFtxuovL3VzL1JPT00vOWRhMjY1MDAtOWY2Zi0xMWU1LTg0ODQtNzczOTMxZTUxMGE3…