a
test/pipeline/head There was a failure building this commit Details

main
onikolskyy 1 year ago
parent 7b28023574
commit 836c3d4954

13
Jenkinsfile vendored

@ -7,21 +7,34 @@ pipeline {
metadata: metadata:
name: 'jenkins-slave' name: 'jenkins-slave'
namespace: 'default' namespace: 'default'
spec: spec:
containers: containers:
- name: dind - name: dind
image: "swr.eu-de.otc.t-systems.com/base-image/docker:dind" image: "swr.eu-de.otc.t-systems.com/base-image/docker:dind"
imagePullPolicy: "IfNotPresent" imagePullPolicy: "IfNotPresent"
tty: true tty: true
command:
- "cat"
volumeMounts:
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
env: env:
- name: PASS - name: PASS
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: docker-reg name: docker-reg
key: pass key: pass
securityContext:
privileged: true
imagePullSecrets: imagePullSecrets:
- name: default-secret - name: default-secret
serviceAccountName: "jenkins-admin" serviceAccountName: "jenkins-admin"
volumes:
- emptyDir:
medium: ""
name: "workspace-volume"
""".stripIndent() """.stripIndent()
} }

Loading…
Cancel
Save