<< Back to previous view

[QB-1568] QB hangs if run Groovy script on server with "System.exit(0)" method
Created: 27/Feb/13  Updated: 28/Feb/13

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 5.0.7
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Sergei Malafaeev Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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)

 Comments   
Comment by 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.
Generated at Fri May 03 15:32:54 UTC 2024 using JIRA 189.