Changed order so that repo runs before jenkins and sets the correct repo path