Updated to take into account jenkins $WORKSPACE