diff --git a/deployment/preview-pipeline.groovy b/deployment/preview-pipeline.groovy index bda3d5c..3225de4 100644 --- a/deployment/preview-pipeline.groovy +++ b/deployment/preview-pipeline.groovy @@ -1,6 +1,11 @@ @Library('occd') _ node() { + stage("Checkout") { + deleteDir() + git(url: "https://github.com/omallo/ruby-ex.git", branch: "${BRANCH}", credentialsId: "github-omallo") + } + def config = occd.parseConfig(readFile("deployment/config.yaml")) stage("Deploy to PREV") {