Limit finished Build trigger based on Pull Request branches

  • build A is a snapshot dependency of build B
  • build A is triggered by pull requests from any source branch to any target branch using the Pull Request build feature.
  • build B is triggered by successful finished builds in build A

Is there a way to only trigger build B on pull requests between specific branches e.g. develop -> master? That way the trigger condition for build B would be: build A is success AND PR is from develop -> master.

I see there's a branch filter under the Finished Build Trigger settings, but that doesn't work with the Pull Request build feature.

Please sign in to leave a comment.