diff --git a/ci/jenkins/PublishImages/Jenkinsfile b/ci/jenkins/PublishImages/Jenkinsfile index a84cb7b83457b..8226b47d9b40a 100644 --- a/ci/jenkins/PublishImages/Jenkinsfile +++ b/ci/jenkins/PublishImages/Jenkinsfile @@ -54,6 +54,15 @@ EOF """, returnStdout: true) // def ret = sh(script: 'kubectl ', returnStdout: true) println ret + def name = sh(script: "echo ${ret}| awk -F'[/ ]' '{print \$2}'", returnStdout: true).trim() + + sh """ + kubectl logs ${name}-pod -f + """ + + sh """ + kubectl describe taskrun ${name} + """ // "kubectl get pod".execute().text.eachLine { line -> // echo line