Add git branch to build job action

This PR adds a `branch` parameter to the Jenkins pack.