From ebecba4462acfb2c99ed9bd434b2dffcf675d175 Mon Sep 17 00:00:00 2001 From: JarredOlson Date: Wed, 11 Jul 2018 15:57:36 -0400 Subject: [PATCH] SMRT-216 Fix jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 12d4cd03..96d6744d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -55,16 +55,16 @@ node('master') { stage('Deploy Tiller') { dir('env') { - sh(""" + sh(''' if [ $(kubectl get serviceaccount --namespace kube-system | grep -wc tiller) -eq 0 ]; then kubectl --namespace kube-system create serviceaccount tiller fi - """) - sh(""" + ''') + sh(''' if [ $(kubectl get clusterrolebinding --namespace kube-system | grep -wc tiller) -eq 0 ]; then kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller fi - """) + ''') } } }