Any DevOps who has been involved in some serious CI/CD pipeline architectures have met these particular requirements at least once in his life:
- Detect hotfix* branches that are merged to Master
- Detect feature* branches that are merged to Master
- Automatically trigger a job if (1) is true
Teamcity is notorious for being tricky! The only way to trigger merges is by listening to the commit messages. With this in mind, we will bake our commit messages to reflect our needs.
Assumptions:
We will assume that the commit message looks something like:git commit -m "hotfix-*"
No comments:
Post a Comment