Remove unnecessary get pods command

This commit is contained in:
Bruck Wubete
2018-08-21 07:47:38 -08:00
committed by GitHub
parent effcf89146
commit 3a97e91844

2
Jenkinsfile vendored
View File

@ -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}"