From 70599c8bc01ea5d649a21a6de047592e3885ed7c Mon Sep 17 00:00:00 2001 From: Sciocatti Date: Thu, 12 Jan 2023 00:24:20 +0200 Subject: [PATCH] Absolute kubectl path. --- cicd/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicd/Jenkinsfile b/cicd/Jenkinsfile index 733a98a..77cd705 100644 --- a/cicd/Jenkinsfile +++ b/cicd/Jenkinsfile @@ -58,7 +58,7 @@ spec: steps { container("deploy") { sh 'sed -ie "s/{{replaceMe}}/`date +%s`/g" `pwd`/cicd/'+env.BRANCH_NAME+'/deployment.yaml' - sh './utils/kubectl apply -f `pwd`/cicd/'+env.BRANCH_NAME+'/deployment.yaml' + sh '/utils/kubectl apply -f `pwd`/cicd/'+env.BRANCH_NAME+'/deployment.yaml' } } }