Jenkinsfile aktualisiert

This commit is contained in:
dresi 2025-11-05 13:37:26 +01:00
parent 4f18dd72a3
commit 2f4f34f747

18
Jenkinsfile vendored
View File

@ -2,22 +2,22 @@ pipeline {
agent { agent {
kubernetes { kubernetes {
yaml ''' yaml '''
apiVersion: "v1" apiVersion: v1
kind: "Pod" kind: Pod
metadata: metadata:
name: docker
labels:
name: docker
spec: spec:
containers: containers:
- name: "dind" - name: docker
command: image: docker:24.0.0-rc.1-dind
- "cat" securityContext:
image: "docker:latest" privileged: true
tty: true
volumeMounts: volumeMounts:
- mountPath: "/home/jenkins/agent" - mountPath: "/home/jenkins/agent"
name: "workspace-volume" name: "workspace-volume"
readOnly: false readOnly: false
securityContext:
privileged: true
''' '''
retries 2 retries 2
} }