We want to use Jenkins to run our unit test suite that tests our GUI components. This doesn't currently work because Tomcat, used as container in the Bitnami Jenkins installation, is run as a Windows service: services have access to very few graphics resources so the test suite eventually crashes (running the test suite from a command shell completes successfully on half a dozen machines, including on the jenkins machine itself). From the "GUI Testing in Windows" section of Jenkins Tomcat docs page:
Most Windows services -- including those run with the option "Allow service to interact with desktop" in Windows XP and Vista -- do not have access to many of the computer's resources, including the console display. This may cause Automated GUI Tests to fail if you are running Apache Tomcat as a Windows Service and are doing any GUI testing.
This limitation can be resolved by not running Tomcat as a Windows Service, but instead through a "Scheduled Task" as an Application that runs at logon.
Is there a way to configure Bitnami Jenkins to do this? Alternately, is there an altogether different solution to the problem, such as configuring Bitnami Jenkins to use a different container?