Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <[email protected]>
  • Loading branch information
yellow-shine committed May 30, 2024
1 parent 6a86126 commit ea243f7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/jenkins/PublishImages/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ pipeline {

def tekton() {

def ret = sh ( script: """
def input = """
cat << EOF | kubectl apply -f -
apiVersion: tekton.dev/v1beta1
kind: TaskRun
Expand All @@ -81,7 +82,12 @@ def tekton() {
taskRef:
name: hello
EOF
""", returnStdout: true)
"""

sh "echo $input"

def ret = sh ( script: input, returnStdout: true)

return ret

Expand Down

0 comments on commit ea243f7

Please sign in to comment.