From 52de126924fc945926483a0a14d3b68434d898b4 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Wed, 7 Dec 2016 23:25:57 +0100 Subject: [PATCH] Fix the path to the config files --- deployment/pipeline.groovy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deployment/pipeline.groovy b/deployment/pipeline.groovy index e730de9..6cb1eb0 100644 --- a/deployment/pipeline.groovy +++ b/deployment/pipeline.groovy @@ -1,12 +1,11 @@ node() { def ocCmd = "oc --token=`cat /var/run/secrets/kubernetes.io/serviceaccount/token` --server=https://openshift.default.svc.cluster.local --certificate-authority=/run/secrets/kubernetes.io/serviceaccount/ca.crt" - def buildConfigFile = "ruby-ex/deployment/config/build.yaml" - def appConfigFile = "ruby-ex/deployment/config/app.yaml" + def buildConfigFile = "deployment/config/build.yaml" + def appConfigFile = "deployment/config/app.yaml" stage('Build') { git "https://github.com/omallo/ruby-ex.git" - sh "ls -la" sh "${ocCmd} process -f ${buildConfigFile} -n rubex-dev | ${ocCmd} apply -f - -n rubex-dev" sh "${ocCmd} start-build frontend -w -n rubex-dev" }