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 { pipeline {
agent { agent {
kubernetes { label any {
cloud 'confdroid_kubernetes' kubernetes {
yaml """ cloud 'confdroid_kubernetes'
apiVersion: v1 yaml """
kind: Pod apiVersion: v1
spec: kind: Pod
containers: spec:
- name: maven containers:
image: maven:3.3.9-jdk-8-alpine - name: maven
command: ['cat'] image: maven:3.3.9-jdk-8-alpine
tty: true command: ['cat']
""" tty: true
"""
}
} }
} }
stages { stages {
stage('pulling master before adding files') { stage('pulling master before adding files') {