Do services start in headless mode? If so you could just query the system 
property "java.awt.headless"?

https://www.oracle.com/technical-resources/articles/javase/headless.html

Thanks
-Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/f08a4dd0-c565-4baf-a8af-d09be2c565da%40googlegroups.com.

Reply via email to