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"
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"
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);
}
groovy:
if (build.isSuccessful()) {
configuration.getSchedule().setPaused(false);
system.configurationManager.save(configuration);
}