Posted July 7, 20168 yr I have a Jenkins job that runs clamav on some windows machines that i have. I would like to figure out a way that i can get notifications if a job doesnt run... is this something pulseway can do?
July 8, 20168 yr Administrators Hi Aaron, Yes, you can generate a Pulseway notification with the help of the REST API: curl https://api.pulseway.com/v2/notifications \ -u username:apitoken \ -X POST \ -H "Content-Type: application/json" \ -d '{"instance_id":"instanceId","title":"Jenkins Job Failed","message":"The jenkins job has failed to run with error code 0x0800123 on Server01 in group Servers.","priority":"critical"}' Replace the instanceId with the system identifier of the agent installed on the jenkins machine, you can find it in the file: /var/pulseway/pulseway.id . Documentation here: https://api.pulseway.com/?shell#notify -Paul
Create an account or sign in to comment