Polishing.
Delay release ticket lookup as GitHub requires a second or so to make tickets visible.
This commit is contained in:
@@ -98,10 +98,13 @@ public class IssueTrackerCommands extends TimedCommand {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@CliCommand(value = "tracker setup-next")
|
@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);
|
createReleaseVersions(iteration);
|
||||||
|
|
||||||
|
Thread.sleep(500); // give GitHub a bit of time to make tickets visible
|
||||||
|
|
||||||
return createReleaseTickets(iteration);
|
return createReleaseTickets(iteration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user