diff --git a/Jenkinsfile b/Jenkinsfile index eca6e0c..6a344a2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,17 @@ apiVersion: v1 kind: Pod spec: containers: + + - name: kubectl + image: bitnami/kubectl:latest + command: + - cat + tty: true + volumes: + - name: docker-sock + hostPath: + path: /var/run/docker.sock + - name: docker image: docker:latest command: @@ -14,15 +25,6 @@ spec: volumeMounts: - name: docker-sock mountPath: /var/run/docker.sock - - name: kubectl - image: bitnami/kubectl:1.26.0 - command: - - cat - tty: true - volumes: - - name: docker-sock - hostPath: - path: /var/run/docker.sock ''' } }