Absolute kubectl path.

This commit is contained in:
2023-01-12 00:24:20 +02:00
parent 499f492efe
commit 70599c8bc0

2
cicd/Jenkinsfile vendored
View File

@@ -58,7 +58,7 @@ spec:
steps { steps {
container("deploy") { container("deploy") {
sh 'sed -ie "s/{{replaceMe}}/`date +%s`/g" `pwd`/cicd/'+env.BRANCH_NAME+'/deployment.yaml' 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'
} }
} }
} }