Overdrivr / micro-ci

Continuous Integration for embedded platforms
0 stars 0 forks source link

Scaffold a slave manager #27

Closed DanFaudemer closed 8 years ago

DanFaudemer commented 8 years ago

Scaffold a node js script which will manage, boot and reboot of slave depending on the ressource returned need returned by jenkins.

DanFaudemer commented 8 years ago

One solution might be:

1) When a slave boot: The slave send a message through jenkins api to said that he is availabe 2) At the end of job slave send that is no more available with jenkins api and reboot.

See: http://stackoverflow.com/questions/5543413/reconfigure-and-reboot-a-hudson-jenkins-slave-as-part-of-a-build

DanFaudemer commented 8 years ago

I have done this simple picture to illustrate the slave management: https://drive.google.com/file/d/0BxeCfL5m3D85V2RpYjVQcnpJY1U/view