diff --git a/Jenkinsfile b/Jenkinsfile index fa04925..0a49808 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,6 +40,7 @@ spec: image: bitnami/kubectl:1.22.0 imagePullPolicy: IfNotPresent tty: true + args: ["get","pod","-A"] volumeMounts: - mountPath: "/etc/localtime" name: "volume-2" @@ -78,7 +79,7 @@ spec: stage('Check Kubernetes ENV') { steps { container(name: 'kubectl', shell: 'echo') { - sh 'tail -f /dev/null' + sh 'kubectl get pod -A' } }