Skip to content

Commit

Permalink
Fix CEL expression bug on push in Bitbucket server
Browse files Browse the repository at this point in the history
fixed CEL experssion bug in push event when used
in Bitbucket server.

Upstream issue:
fixes openshift-pipelines#1677

https://issues.redhat.com/browse/SRVKP-6377
https://issues.redhat.com/browse/SRVKP-5561

Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
  • Loading branch information
zakisk authored and chmouel committed Dec 16, 2024
1 parent 0acbbad commit e3cb77a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/provider/bitbucketserver/parse_payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func (v *Provider) ParsePayload(_ context.Context, _ *params.Run, request *http.
}
v.pullRequestNumber = e.PullRequest.ID
case *types.PushRequestEvent:
processedEvent.Event = "push"
processedEvent.TriggerTarget = "push"
processedEvent.Organization = e.Repository.Project.Key
processedEvent.Repository = e.Repository.Slug
Expand Down

0 comments on commit e3cb77a

Please sign in to comment.