From 9448633a29805b53102b3d064c1cd70f04a41091 Mon Sep 17 00:00:00 2001 From: areeqakbr Date: Wed, 26 Feb 2025 11:06:31 +0700 Subject: [PATCH] testing pod initiate --- Jenkinsfile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) 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 ''' } }