I create a PR. Everything works fine no build is triggered which is expected as I'm in "only build on comment" mode.
I trigger a build with a comment.
Now I push a new commit on my PR. Here, a new build is triggered. I'm expecting to have always the same behavior, a new build is triggered if and only if I make a comment.
This comes from the parsing of comments which should stop at the first buildStarted/buildFinished message it encounters in onlyBuildOnComment mode. Instead, the parsing will continue and finally find the initial trigger comment.
I have a fix ready, I'll be happy to make a PR if you confirm this behavior is not expected.
Detailed test case:
This comes from the parsing of comments which should stop at the first buildStarted/buildFinished message it encounters in onlyBuildOnComment mode. Instead, the parsing will continue and finally find the initial trigger comment.
I have a fix ready, I'll be happy to make a PR if you confirm this behavior is not expected.