I want to have part of my destination path in build.cake
be based on the branch being built. The top of my build.cake
script says:
var branch = Argument("branch", "Master");
and I modified my Team City Build step to include
.\build.ps1 ... -Branch %teamcity.build.branch%
but Team City complains that I have no eligible agents
Implicit requirements: teamcity.build.branch defined in Build step: Build
I'm new to TC and Cake so I'm likely missing something obvious. How do I hook this up?