add ssh-agent plugin and java_home env variable