# Pipeline should be trigger branch wise

**URL:** <https://forums.suse.com/t/pipeline-should-be-trigger-branch-wise/18573>\
**Category:** General\
**Created:** [October 14, 2020, 5:39am UTC](https://forums.suse.com/t/pipeline-should-be-trigger-branch-wise/18573 "2020-10-14T05:39:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![omduttpathak](https://avatars.discourse-cdn.com/v4/letter/o/43a26b/32.png) [@omduttpathak](https://forums.suse.com/u/omduttpathak)\
**Post date:** [October 14, 2020, 5:39am UTC](https://forums.suse.com/t/pipeline-should-be-trigger-branch-wise/18573/1 "2020-10-14T05:39:25Z")

</div>

Hi,

I have two different k8s cluster in rancher management. same Git Lab is integrated with both clusters. on Git Lab side, I have one repository and there are two branch inside it (dev, test).  
I want to trigger “dev” branch in cluster A only. and “test” branch cluster B only.

facing issue is:

When I commit anything in dev branch, pipeline is triggering in both cluster. same for test branch case as well.
