Jenkins Course Final LAB: dev and master branch

Hello,
In the final lab i could not understand how we set the dev branch to dev server and the master branch to prod server. it is not in the Groovy script, as far as i can see? Thx