Using different java versions

I would like to know if there is a way to configure some builds to use one java version and others to use a different one. Currently JAVA_HOME is set in .bashrc which is sourced by the teamcity startup script. Of course changing this will affect all builds. This is TeamCity Enterprise Version 3.1.1 (build 6828) running on Debian 64 bits.

Thank you

Please sign in to leave a comment.