<< Back to previous view

[QB-3614] Unpause on next SUCCESSFUL build
Created: 04/Sep/20  Updated: 18/Feb/21

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

Type: New Feature Priority: Major
Reporter: Benoit Maury-Bouet Assigned To: Robin Shen
Resolution: Won't Fix Votes: 1
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: PNG File Unpause.png    

 Description   
Dear all,
I don't know if this falls in between improvement or New Feature, but I find that it would be great if we could have an option to unpause a schedule on a configuration on a condition, especially "If next build is SUCCESSFUL"
I'm attaching a screenshot to show a bit my "idea"

 Comments   
Comment by Robin Shen [ 18/Feb/21 08:40 AM ]
This can be done by adding a post-build script like below:

groovy:
if (build.isSuccessful()) {
  configuration.getSchedule().setPaused(false);
  system.configurationManager.save(configuration);
}
Generated at Thu Apr 18 23:05:12 UTC 2024 using JIRA 189.