uses local jenkins
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -1,25 +1,7 @@
|
|||||||
/*pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label 'puppet'
|
label 'puppet'
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
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
|
|
||||||
"""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user