diff --git a/Jenkinsfile b/Jenkinsfile index 625729e..f829e1f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,7 +40,6 @@ spec: image: bitnami/kubectl:1.22.0 imagePullPolicy: IfNotPresent tty: true - args: ["get","pod","-A"] volumeMounts: - mountPath: "/etc/localtime" name: "volume-2" @@ -102,5 +101,13 @@ spec: } } } + stage('Check Kubernetes ENV') { + steps { + container(name: 'kubectl', shell: 'echo') { + sh 'sleep 10' + } + + } + } } }