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 6006c66
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions ci/jenkins/PublishImages/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,19 @@ pipeline {

def tekton() {

def ret = sh ( script: """
cat << EOF | kubectl apply -f -
apiVersion: tekton.dev/v1beta1
kind: TaskRun
metadata:
name: hello-task-run
namespace: milvus-ci
spec:
taskRef:
name: hello
EOF
""", returnStdout: true)
sh 'echo in tekton'
// def ret = sh ( script: """
// cat << EOF | kubectl apply -f -
// apiVersion: tekton.dev/v1beta1
// kind: TaskRun
// metadata:
// name: hello-task-run
// namespace: milvus-ci
// spec:
// taskRef:
// name: hello
// EOF
// """, returnStdout: true)

return ret

Expand Down

0 comments on commit 6006c66

Please sign in to comment.