alexkvak / teamcity-slack

TeamCity Slack plugin
MIT License
124 stars 23 forks source link

Status displayed incorrectly as "succeeded" instead of "started" #70

Open NikolayMetchev opened 5 years ago

NikolayMetchev commented 5 years ago

I have used the plugin to send a slack message when a Build Configuration is started and succeeded. Sometimes the slack message displays the status of the Build Configuration as "succeeded" instead of "started" on the first message and then again when it actually succeeds.

alexkvak commented 5 years ago

So strange. Could you provide some details? E.g. messages screenshots

NikolayMetchev commented 5 years ago

succeeded_not_started

NikolayMetchev commented 5 years ago

slack settings

NikolayMetchev commented 5 years ago

Do you need more details?

NikolayMetchev commented 4 years ago

Any chance this could be looked at?

alexkvak commented 4 years ago

According to your screenshot I guess the build lasts about 5 minutes? Or not?

NikolayMetchev commented 4 years ago

That particular build yes. We have this configured on other builds as well.

alexkvak commented 4 years ago

So you become notification that build is succeeded when build is only actually started?

NikolayMetchev commented 4 years ago

Yes

MSupragonas commented 4 years ago

I notice similar issue, yet my problem was that TC starts build with branch name 'default' and only after a few seconds, a normal name 'master' is displayed, so a trigger for build start didn't event got invoked. Solved by filtering branch '.'

Also noticed exactly this issue, started two builds with the same settings, one said: started, other successful. Builds had same dependency. image

shachar-ash commented 3 years ago

So you become notification that build is succeeded when build is only actually started?

We also encounter the same problem sporadically.

ofirnn commented 3 years ago

We're facing it as well -mostly on jobs that run in high frequency.

shachar-ash commented 3 years ago

Hey @alexkvak, hope you are doing well. Any news about this one?

asafsarid commented 2 years ago

@alexkvak any updates? Happens here as well.

alexkvak commented 2 years ago

@asafsarid do you have an exactly case to reproduce?

asafsarid commented 2 years ago

@alexkvak thanks for responding. Actually, we are not sure how to reproduce this since it happens sporadically. As @ofirnn mentioned, seems that it happens mostly on jobs that run in high frequency.

shachar-ash commented 2 years ago

@alexkvak We still experience this.