Skip to content
Snippets Groups Projects
Unverified Commit 3a97e918 authored by Bruck Wubete's avatar Bruck Wubete Committed by GitHub
Browse files

Remove unnecessary get pods command

parent effcf891
Branches
Tags
No related merge requests found
......@@ -50,7 +50,7 @@ volumes: [
container('kubectl') {
withCredentials([file(credentialsId: kubecSecretsId, variable: 'FILE')]) {
sh '''
kubectl get pods && kubectl apply -f $FILE
kubectl apply -f $FILE
'''
}
sh "kubectl set image deployments/gl-deployment gl=${imageTag}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment