Skip to content

Commit

Permalink
Merge pull request #1599 from JordanGoasdoue/chore-allow-tekton-pipel…
Browse files Browse the repository at this point in the history
…ineref-resolver

chore: allows use of tekton pipelineRef.Resolver
  • Loading branch information
jenkins-x-bot authored Apr 2, 2024
2 parents 765e047 + fee0777 commit 10ba7ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/engines/tekton/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ func determineGitCloneOrMergeTaskParams(ctx context.Context, pr *tektonv1beta1.P

if pr.Spec.PipelineSpec != nil {
pipelineSpec = pr.Spec.PipelineSpec
} else if pr.Spec.PipelineRef.Name == "" {
return nil, nil
} else {
pipeline := tektonv1beta1.Pipeline{ObjectMeta: metav1.ObjectMeta{Name: pr.Spec.PipelineRef.Name, Namespace: pr.Namespace}}
key := client.ObjectKeyFromObject(&pipeline)
Expand Down

0 comments on commit 10ba7ac

Please sign in to comment.