forked from External/greenlight
Remove unnecessary get pods command
This commit is contained in:
parent
effcf89146
commit
3a97e91844
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue