set jenkins-node shell to bin/bash, away from bin/sh, mainly to get rvm functioning easier