testing slaves

This commit is contained in:
Arne Teuke
2019-10-28 17:52:11 +01:00
parent f50af60229
commit e7b0657813

27
Jenkinsfile vendored
View File

@@ -6,22 +6,21 @@
pipeline {
agent {
label 'kubernetes' {
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
"""
}
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') {