diff --git a/ci/jenkins/PublishImages/Jenkinsfile b/ci/jenkins/PublishImages/Jenkinsfile index fb75628240b73..ea26f167948e0 100644 --- a/ci/jenkins/PublishImages/Jenkinsfile +++ b/ci/jenkins/PublishImages/Jenkinsfile @@ -6,8 +6,6 @@ pipeline { // defaultContainer 'jnlp' // yamlFile 'ci/jenkins/pod/meta-builder.yaml' yaml ''' - apiVersion: v1 - kind: Pod spec: securityContext: runAsUser: 1000 # default UID of jenkins user in agent image @@ -17,6 +15,11 @@ pipeline { command: - cat tty: true + - name: tekton + image: rancher/tekton-utils:v0.1.43 + command: + - cat + tty: true ''' } } @@ -35,7 +38,7 @@ pipeline { } stage('list pod') { steps { - container('kubectl') { + container('tekton') { script { // sh 'kubectl get pod' // "ls -lah".execute().text.eachLine { line ->