You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Jenkins, with the multiBranchPipeline plugin, that most people these days use against their git repos, one can choose if a push to a branch that has a pull request should trigger two executions, i.e. one for push and one for pull request, or if only the one for the pull request should be triggered. In the same situation in Tekton PAC, both events will come and I can get separate runs for both events.
Would it at be possible to get the same kind of option in Tekton PAC as in Jenkins, i.e. that I configure my Repository to suppress "push" if there is also a "pull_request" event for the same branch? Or that my pipelineRun could have a flag that is read and understood that it wants to run for "push" but only if no "pull_request" event also has the same origin?
The text was updated successfully, but these errors were encountered:
i was not aware that jenkins had that option, and that's a nice solution to a problem that always bugged me but never spent too much time on it.... this will solve the issue wheen sending a push from a branch on the same repository generating a push pipeline...
i am not sure we need to make it optional we can just say that a push to a branch who has a pull request open will only generate a pull request event..
'
let's keep this issue open if you don't mind and let's see if we can implement this
In Jenkins, with the multiBranchPipeline plugin, that most people these days use against their git repos, one can choose if a push to a branch that has a pull request should trigger two executions, i.e. one for push and one for pull request, or if only the one for the pull request should be triggered. In the same situation in Tekton PAC, both events will come and I can get separate runs for both events.
Would it at be possible to get the same kind of option in Tekton PAC as in Jenkins, i.e. that I configure my Repository to suppress "push" if there is also a "pull_request" event for the same branch? Or that my pipelineRun could have a flag that is read and understood that it wants to run for "push" but only if no "pull_request" event also has the same origin?
The text was updated successfully, but these errors were encountered: