stisti / jenkins-app

Make Jenkins behave like a Mac application to make it easier to manage.
246 stars 20 forks source link

Version 52 still allows system sleep in the middle of build #17

Closed stisti closed 11 years ago

stisti commented 11 years ago

From system log:

16.11.2012 21.04.10,144 Jenkins.app[86630]: There are 1 builds in progress. Preventing sleep. 16.11.2012 21.05.10,000 kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep

My guess is that running caffeinate -t 60 allows the system to sleep as soon as caffeinate exits and the system sleeps before Jenkins.app can start a new caffeinate instance.

Another approach is needed. Maybe run caffeinate with a really long timeout and kill it when build is done?

stisti commented 11 years ago

Fixed in build 56.