Add a branch build script for Jenkins.