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