-
Notifications
You must be signed in to change notification settings - Fork 0
/
cp
43 lines (42 loc) · 757 Bytes
/
cp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env groovy
pipeline {
agent {
kubernetes {
yaml '''
apiVersion: v1
kind: Pod
metadata:
name: jslv-dagger
spec:
containers:
- name: dagger
image: "adlnc/dagger-jenkins-agent:test"
imagePullPolicy: Always
command:
- sh
tty: true
volumeMounts:
- name: docker-registry-config
mountPath: /dagger/.docker
volumes:
- name: docker-registry-config
configMap:
name: docker-registry-config
'''
retries 2
}
}
environment {
DH_CREDS = credentials('3f3f1cdb-c931-4993-a2df-59bdf30c48b7')
}
stages {
stage('verify installation') {
steps {
sh '''
dagger version
docker version
'''
}
}
}
}