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