forked from External/greenlight
		
	Remove unnecessary get pods command
This commit is contained in:
		
							
								
								
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -50,7 +50,7 @@ volumes: [
 | 
				
			|||||||
      container('kubectl') {
 | 
					      container('kubectl') {
 | 
				
			||||||
         withCredentials([file(credentialsId: kubecSecretsId, variable: 'FILE')]) {
 | 
					         withCredentials([file(credentialsId: kubecSecretsId, variable: 'FILE')]) {
 | 
				
			||||||
            sh '''
 | 
					            sh '''
 | 
				
			||||||
              kubectl get pods && kubectl apply -f $FILE
 | 
					              kubectl apply -f $FILE
 | 
				
			||||||
            '''
 | 
					            '''
 | 
				
			||||||
         }
 | 
					         }
 | 
				
			||||||
        sh "kubectl set image deployments/gl-deployment gl=${imageTag}"
 | 
					        sh "kubectl set image deployments/gl-deployment gl=${imageTag}"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user