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