alexkvak / teamcity-slack

TeamCity Slack plugin
MIT License
124 stars 23 forks source link

Error: Previous build not found #50

Closed lamak closed 5 years ago

lamak commented 5 years ago

Hi, we're using TeamCity Professional 2018.1.2 (build 58537) Has two branches for build: default branch name: refs/heads/master and refs/heads/dev with no branch specification filled With branch in slack config: master, refs/heads/master, when I'm try — previous build not found, but there is a lot of them.

screen shot 2018-10-09 at 18 13 03
alexkvak commented 5 years ago

Please attach screenshot with you slack notifications config

lamak commented 5 years ago
screen shot 2018-10-09 at 19 14 49
alexkvak commented 5 years ago

And you receive notifications with such config?

lamak commented 5 years ago

There hasn't any build after that, so can't say about real notification, but 'Try it' worked only once on same config, but branch .* — got a test message.

alexkvak commented 5 years ago

Your TeamCity does not see your branch name so I guess notifications will not be sent.

lamak commented 5 years ago

I think so, so is there any way to set the branch name to TeamCity?

alexkvak commented 5 years ago

Please see #21 and https://stackoverflow.com/questions/23415704/select-git-branch-for-teamcity-build