testing slaves

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

11
Jenkinsfile vendored
View File

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