diff --git a/ci/jenkins/PublishImages/Jenkinsfile b/ci/jenkins/PublishImages/Jenkinsfile index 7c69d0223ce71..b4bde8bb63435 100644 --- a/ci/jenkins/PublishImages/Jenkinsfile +++ b/ci/jenkins/PublishImages/Jenkinsfile @@ -1,9 +1,11 @@ pipeline { - kubernetes { + agent { + kubernetes { // cloud 'kubernetes' // label 'jenkins-slave' // defaultContainer 'jnlp' // yamlFile 'ci/jenkins/pod/meta-builder.yaml' + } } stages { stage('Stage 1') { @@ -23,7 +25,6 @@ pipeline { script { sh 'kubectl get pod' } - } } }