0

How can I get Jenkins to handle node connection failures?

Right now, if a slave drops the connection to the master, all the builds running on that node fail. Ideally, these would just be rescheduled.

Has someone already addressed this issue?

Do I need to write my own plugin for this? If so, where would I "extend" Jenkins functionality?

Paul Draper
  • 78,542
  • 46
  • 206
  • 285

1 Answers1

0

See the Post build task plugin:

This plugin allows the user to execute a shell/batch task depending on the build log output.

See http://<Your Jenkins>/job/<Your job's name>/api/:

Perform a build

To programmatically schedule a new build, post to this URL [http://<Your Jenkins>/job/<Your job's name>/build]

Community
  • 1
  • 1
Gerold Broser
  • 14,080
  • 5
  • 48
  • 107