From 133fe8272377e2a97730009081c3353ecc804e66 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Fri, 9 Dec 2016 14:44:34 +0100 Subject: [PATCH] PoC to read config from file --- deployment/pipeline.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index feab530..a069d16 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -17,7 +17,7 @@ node() { def buildManifest = "deployment/manifests/build.yaml" def appManifest = "deployment/manifests/app.yaml" - def config = new JsonSlurper().parse(new File(configFile)) + def config = new JsonSlurper().parse(configFile) println config stage("Build") {