Assuming you want to build from a wizard.
In the Jenkins section of the GIT section, select:
Branches to build: master
also add:
Additional Behaviours: Check out to specific local branch: master
Build step
Run shell:
git branch --set-upstream-to=origin/master master
Then add SBT build step
sbt "release with-defaults"
source share