Log inSkip to main contentSkip to sidebar
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Show build statuses in PR based on source and destination branch
Currently, if we have multiple PRs for the same source branch but different destinations, the pipeline builds triggered on the commit(on source branch) will all show up in all the PRs.
Let's say PR#1 is between source branch - `feature` and destination `develop`
PR#2 is between source - `feature` and destination `staging`
When a commit is pushed to source - `feature`, 2 builds(assuming pull request triggers are configured) will be triggered
build#1 - for PR#1
build#2 - for PR#2
As per the current behavior, both these builds are shown in both the PRs leading to confusion. Cause the build#2 is not related to PR#1 and vice versa as the destinations are different.
It'd be better to have build statuses in PR updated based on source & destination branches instead of pulling the build statuses on the source commit.