Take the useful part of the jenkins script and put it in a script that makes a package with the git hashes as its version.