It's all about the answers!

Ask a question

Why Do Steps Not Show As "Skipped"?

John Bobinyec (683031) | asked May 06 '14, 11:53 a.m.
Build Forge

In BF 7.1.3 when steps are skipped - the display shows exactly that - and the icon is gray.  With BF, if the step is skipped the icon turns green as if the step has been executed and there are no words saying "skipped".  In order to see if the step is truly skipped, you have to drill down into the console for that step and you'll see

       "EXEC Empty command text for Step "

How do I get BF to act like BF 7.1.3 and show which steps were skipped - on the step summary page?

John Bobinyec

One answer

permanent link
John Bobinyec (683031) | answered May 07 '14, 10:05 a.m.
This is causing further trouble.  See defect 31153.  I'll explain here as well.
BF 7.1.3
We have a step which is controlled by a condition.  If the condition is met, the step is executed.  It has a good return code, so this kicks off a chained job (on pass).  If the condition is not met, the step is skipped and is never executed.  So this is a way to control whether or not a chained job is executed.

We have the same step.  If the condition is not met, the following is executed:
      "EXEC Empty command text for Step "
This empty command has a good return code and so the chained job is executed.  This is exactly opposite of what was desired.  The condition no longer controls the execution of the chained job, which ALWAYS executes.

John Bobinyec

Your answer

Register or to post your answer.