Polishing.

Delay release ticket lookup as GitHub requires a second or so to make tickets visible.
This commit is contained in:
Mark Paluch
2025-06-13 14:38:49 +02:00
parent ede1446a80
commit 91e1c0d85d

View File

@@ -98,10 +98,13 @@ public class IssueTrackerCommands extends TimedCommand {
* @return
*/
@CliCommand(value = "tracker setup-next")
public String trackerSetupNext(@CliOption(key = "", mandatory = true) TrainIteration iteration) {
public String trackerSetupNext(@CliOption(key = "", mandatory = true) TrainIteration iteration)
throws InterruptedException {
createReleaseVersions(iteration);
Thread.sleep(500); // give GitHub a bit of time to make tickets visible
return createReleaseTickets(iteration);
}