generated from Templates/html-nginx-deployment
Absolute kubectl path.
This commit is contained in:
2
cicd/Jenkinsfile
vendored
2
cicd/Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user