<< Back to previous view

[QB-2387] QB still puts jobs in the queue while the system is pausing
Created: 25/Mar/15  Updated: 25/Mar/15

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

Type: Bug Priority: Major
Reporter: Phong Trinh Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
 Hi Support Team,

 QB still puts jobs in the queue while the system is pausing for upgrading. It causes too many jobs (more than one hundred jobs) in queue. I think while the system is pausing, QB should pause this action as well.

 Thanks,
 ptrinh

 Comments   
Comment by Robin Shen [ 25/Mar/15 11:27 PM ]
This is by design in order not to drop submitted jobs while system is being maintained. If instead you'd like to reject all job requests, just edit your pre-queue script in advanced setting of the configuration to use below script:
groovy:
if (system.cacheManager.getSystemSetting().getPauseSystem() != null)
  throw new com.pmease.quickbuild.QuickbuildException("System is paused");
Generated at Tue May 21 02:40:21 UTC 2024 using JIRA 189.