Features branches question (Git)
Hi!
I create project in team city.
Create in this project two configurations.
- 1-st configuration - monitoring only master branch and run buld by commits only in master branch
- 2-nd configuration - monitoring branches only from a features branch. - don't work properly
In Branch Specification I specify:
+:refs/heads/master/features/*
For example:
- I create branch from "features" branch named "feature1"
- Made commit to new branch
- TeamCity - not react.
I retry everything
Last my configuration is:
- 1-st configuration: +:refs/heads/master
- 2-nd configuration: +:refs/heads/features
+:refs/heads/*-feature
Works so-so
But, when I made commit in master branch - 2-nd configuration also starts build, because Default Branch is master.
I spent two days but he did not succeed.
I spent two days but he did not succeed.
Please sign in to leave a comment.