Trying to use Build Forge filter to stop/cancel a step
![]()
Our "execute build" step in BF calls legacy makefiles.
We just had a case where some program it was calling wanted a y/n from stdin and it just kept looping, filling up logs and the db. It is a very easy pattern to detect with a BF filter. The problem I have is to get it to actually stop or cancel the build. I tried actions "stop build with fail result" and "set fail / halt". I expected the first one to work, but it doesn't. The test I have displays the significant string 30 times and then something else. The match works, I see that in the step log, but it finishes everything up and then fails the step. In the case of an endless loop I want it to stop the thing right then and there. I also let it output the line 5000 times and it didn't stop it. I don't think this is "works as designed" - or? Does anybody have any ideas what could be wrong? It should be pretty straight forward. It almost feels to me like it is so busy matching the pattern that it doesn't have time to stop the build. this is BF 7.1.2.2 |
Accepted answer
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.