The project has a git vcs repo.
Default branch is : %PortalDefaultBranch% (which value is 'develop')
Branch spec is:
Each 'active branch' in repo has its own 'run' button. In my case I clicked the 'run' button under 'refs/heads/master' branch. The build was triggered, but the source code was fetched from develop. 2 minutes later i ran a custom build and changed parameter PortalDefaultBranch to refs/heads/develop and the build went through as planned, and the name of the package was correct.
Can not this 'run' button on each branch be trusted? Do I always have to change the DefaultBranch parameter?