Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2010-08-25T20:59:55Z by jonasgryder
ragjan
ragjan
11 Posts
ACCEPTED ANSWER

Pinned topic Make it Fail

‏2010-05-21T16:43:42Z |
Hi All,

Is there a way to make buildforge project to fail from a project step.

For eg. i want to create a conditional step, whenever condition pass i want continue to the next step of the project, incase of condition not met i want to make it fail, i tried to see if there any dot command available for it but i couldn't find anything,

Any ideas?
Updated on 2010-08-25T20:59:55Z at 2010-08-25T20:59:55Z by jonasgryder
  • jonasgryder
    jonasgryder
    4 Posts
    ACCEPTED ANSWER

    Re: Make it Fail

    ‏2010-08-25T20:59:55Z  in response to ragjan
    .buildstatus Fail will cause the job to fail, although all steps will run, and the step will show successful completion (the .buildstatus Fail worked). To get the step itself to fail, you can create any command that will always fail as the last command. I set the .buildstatus to an illegal setting, for example .buildstatus Quit will fail the step.