In our Jenkins most of the jobs have name like "PROJECT_NAME BUILD [develop]", because we are using pipeline plugin.
Code is not prepared for that. It is not very common problem, because generally you are not allow to use special chars like [ or ] in display name, but it is can occurs when you are using pipeline plugin.
As a result plugin is triggered every time when cron is executed, because it has a problem to find previous build comment.
Now, I have new BuildFinished comment every 5 minutes (cron configuration) in my stash pull request. I will prepare fix for that.
I think, that this is my mistake. I see now, that there is Pattern.quote(), so issue should not occurs. So, something else is a cause of strange behaviour in our environment.
In our Jenkins most of the jobs have name like "PROJECT_NAME BUILD [develop]", because we are using pipeline plugin.
Code is not prepared for that. It is not very common problem, because generally you are not allow to use special chars like [ or ] in display name, but it is can occurs when you are using pipeline plugin.
As a result plugin is triggered every time when cron is executed, because it has a problem to find previous build comment.
Now, I have new BuildFinished comment every 5 minutes (cron configuration) in my stash pull request. I will prepare fix for that.