History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1006
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Jan Koprowski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

build.isFailed() does not return TRUE when build fail.

Created: 05/Aug/11 10:16 AM   Updated: 06/Aug/11 07:22 AM
Component/s: None
Affects Version/s: 3.1.54
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux


 Description  « Hide
Reproduction:
1. Create new configuration
2. Add step which fail
3. Add step "Execute Script" with Script:
${groovy:
logger.info("FAILED: " + build.isFailed().toString())
logger.info("HAS ERRORS: " + build.hasErrors().toString())}
4. Run build
5. Look to logs and You will see:
12:13:55,926 [master>LOG STATUS@machine:8810] INFO - FAILED: false
12:13:55,926 [master>LOG STATUS@machine:8810] INFO - HAS ERRORS: false

build.isFailed() is false although first step failed.

 All   Comments   Work Log   Change History      Sort Order:
No work has yet been logged on this issue.