Specify the branch to checkout

This commit is contained in:
Ovidio Mallo 2017-01-04 00:49:51 +01:00
parent 3eb57d88b8
commit 8d52c35ed9

View file

@ -3,7 +3,7 @@
node() { node() {
stage("Checkout") { stage("Checkout") {
deleteDir() deleteDir()
git(url: "https://github.com/omallo/ruby-ex.git", credentialsId: "github-omallo") git(url: "https://github.com/omallo/ruby-ex.git", branch: "master", credentialsId: "github-omallo")
} }
def config = occd.parseConfig(readFile("deployment/config.yaml")) def config = occd.parseConfig(readFile("deployment/config.yaml"))