简体   繁体   中英

How to configure Jenkins to send a notification email when a Slave goes offline?

How to configure Jenkins to send a notification email when a Slave goes offline? I have a Windows Server in the Cloud. In there is a Jenkins Slave running that runs a nightly build, but sometimes the Slave goes offline and I need to know when it goes offline. How can I configure to Jenkins send me a email notification in this case?

The setting that Lars mentions does not seem to come with a default Jenkins installation (v1.514). I see it with theMail watcher plugin

In the slave configuration, there's an option "Notify when Node online status changes". If you check it, it will allow you to enter email addresses to be notified when the slave comes online/goes offline.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM