Corrected agent declaration in Jenkinsfile
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -1,7 +1,9 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label 'kubernetes'
|
kubernetes {
|
||||||
yamlfile 'podTemplate.yaml'
|
label 'kubernetes-agent'
|
||||||
|
yamlFile 'podTemplate.yaml'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
|
Reference in New Issue
Block a user