testing slaves

This commit is contained in:
Arne Teuke
2019-10-28 17:49:11 +01:00
parent e7a1636635
commit 44092c835a

27
Jenkinsfile vendored
View File

@@ -6,21 +6,22 @@
pipeline {
agent {
kubernetes {
cloud 'confdroid_kubernetes'
yaml """
apiVersion: v1
kind: Pod
spec:
containers:
- name: maven
image: maven:3.3.9-jdk-8-alpine
command: ['cat']
tty: true
"""
label any {
kubernetes {
cloud 'confdroid_kubernetes'
yaml """
apiVersion: v1
kind: Pod
spec:
containers:
- name: maven
image: maven:3.3.9-jdk-8-alpine
command: ['cat']
tty: true
"""
}
}
}
stages {
stage('pulling master before adding files') {