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

Key: QB-1568
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Critical Critical
Assignee: Robin Shen
Reporter: Sergei Malafaeev
Votes: 0
Watchers: 1
Operations

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

QB hangs if run Groovy script on server with "System.exit(0)" method

Created: 27/Feb/13 01:06 PM   Updated: 28/Feb/13 12:47 AM
Component/s: None
Affects Version/s: 5.0.7
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
I run next Groovy script on the server. After that build is hanging.
If I stop the build then server is down.


groovy:

System.exit(0)

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [28/Feb/13 12:47 AM]
QB itself can not control what user does in a script. User should never call such statement in groovy script as it will eventually shuts down the agent to cause build waiting infinitely until cancelled.