Jenkinsfile aktualisiert
This commit is contained in:
parent
c432e3ac80
commit
8431c95324
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -1,7 +1,21 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
kubernetes {
|
kubernetes {
|
||||||
inheritFrom 'default'
|
yaml '''
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
some-label: some-label-value
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: dind
|
||||||
|
image: docker:dind
|
||||||
|
command:
|
||||||
|
- cat
|
||||||
|
tty: true
|
||||||
|
'''
|
||||||
|
retries 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user